Skip to content

Commit 6436092

Browse files
committed
Switch to the new set_print_errors_to_stderr API
1 parent cc295a6 commit 6436092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl CodegenBackend for GccCodegenBackend {
9797
let temp_dir = TempDir::new().expect("cannot create temporary directory");
9898
let temp_file = temp_dir.into_path().join("result.asm");
9999
let check_context = Context::default();
100-
check_context.set_hide_log_stderr(true);
100+
check_context.set_print_errors_to_stderr(false);
101101
let _int128_ty = check_context.new_c_type(CType::UInt128t);
102102
// NOTE: we cannot just call compile() as this would require other files than libgccjit.so.
103103
check_context.compile_to_file(gccjit::OutputKind::Assembler, temp_file.to_str().expect("path to str"));

0 commit comments

Comments
 (0)