File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
src/cargo/core/compiler/build_context Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -104,13 +104,12 @@ impl TargetInfo {
104104 . args ( & rustflags)
105105 . env_remove ( "RUSTC_LOG" ) ;
106106
107- // let mut embed_bitcode_test = process.clone();
108- // embed_bitcode_test.arg("-Cembed-bitcode");
109- // let supports_embed_bitcode = match kind {
110- // CompileKind::Host => Some(rustc.cached_output(&embed_bitcode_test).is_ok()),
111- // _ => None,
112- // };
113- let supports_embed_bitcode = Some ( false ) ;
107+ let mut embed_bitcode_test = process. clone ( ) ;
108+ embed_bitcode_test. arg ( "-Cembed-bitcode" ) ;
109+ let supports_embed_bitcode = match kind {
110+ CompileKind :: Host => Some ( rustc. cached_output ( & embed_bitcode_test) . is_ok ( ) ) ,
111+ _ => None ,
112+ } ;
114113
115114 if let CompileKind :: Target ( target) = kind {
116115 process. arg ( "--target" ) . arg ( target. rustc_target ( ) ) ;
You can’t perform that action at this time.
0 commit comments