We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Linker::new
1 parent 2c46e39 commit 17bff9dCopy full SHA for 17bff9d
1 file changed
crates/fuzzing/tests/oom.rs
@@ -126,6 +126,18 @@ fn engine_new() -> Result<()> {
126
})
127
}
128
129
+#[test]
130
+#[cfg(arc_try_new)]
131
+fn linker_new() -> Result<()> {
132
+ OomTest::new().test(|| {
133
+ let mut config = Config::new();
134
+ config.enable_compiler(false);
135
+ let engine = Engine::new(&config)?;
136
+ let _linker = Linker::<()>::new(&engine);
137
+ Ok(())
138
+ })
139
+}
140
+
141
fn ok_if_not_oom(error: Error) -> Result<()> {
142
if error.is::<OutOfMemory>() {
143
Err(error)
0 commit comments