ignore stderr print. They are warnings.

This commit is contained in:
Brendan Hansknecht 2022-12-14 21:33:40 -08:00
parent 5ea5208070
commit a0622d57a2
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -307,7 +307,7 @@ fn gen_from_mono_module_llvm<'a>(
.output()
.unwrap();
assert!(bc_to_object.stderr.is_empty(), "{:#?}", bc_to_object);
assert!(bc_to_object.status.success(), "{:#?}", bc_to_object);
MemoryBuffer::create_from_file(&app_o_file).expect("memory buffer creation works")
} else if emit_debug_info {