You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
// TODO(antoyo): Send -plugin/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/liblto_plugin.so to linker (this should be done when specifying the appropriate rustc cli argument).
83
+
context
84
+
.compile_to_file(OutputKind::ObjectFile, bc_out.to_str().expect("path to str"));
85
+
}
69
86
}
87
+
else{
88
+
if config.emit_bc || config.emit_obj == EmitObj::Bitcode{
// TODO(antoyo): Send -plugin/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/liblto_plugin.so to linker (this should be done when specifying the appropriate rustc cli argument).
82
-
context
83
-
.compile_to_file(OutputKind::ObjectFile, bc_out.to_str().expect("path to str"));
96
+
if config.emit_obj == EmitObj::ObjectCode(BitcodeSection::Full){
97
+
// TODO: we might want to emit to emit an error here, saying to set the
// TODO(antoyo): Send -plugin/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/liblto_plugin.so to linker (this should be done when specifying the appropriate rustc cli argument).
110
+
context
111
+
.compile_to_file(OutputKind::ObjectFile, bc_out.to_str().expect("path to str"));
0 commit comments