File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ use rustc_codegen_ssa::{CodegenResults, TargetConfig};
4747use rustc_log:: tracing:: info;
4848use rustc_middle:: dep_graph:: { WorkProduct , WorkProductId } ;
4949use rustc_session:: Session ;
50- use rustc_session:: config:: OutputFilenames ;
50+ use rustc_session:: config:: { OutputFilenames , PrintKind , PrintRequest } ;
5151use rustc_span:: { Symbol , sym} ;
5252use rustc_target:: spec:: { Abi , Arch , Env , Os } ;
5353
@@ -160,6 +160,16 @@ impl CodegenBackend for CraneliftCodegenBackend {
160160 }
161161 }
162162
163+ fn print ( & self , req : & PrintRequest , out : & mut String , _sess : & Session ) {
164+ match req. kind {
165+ // FIXME have a default impl that returns false
166+ PrintKind :: BackendHasZstd => {
167+ out. push_str ( "false\n " ) ;
168+ }
169+ _ => { }
170+ }
171+ }
172+
163173 fn target_config ( & self , sess : & Session ) -> TargetConfig {
164174 // FIXME return the actually used target features. this is necessary for #[cfg(target_feature)]
165175 let target_features = match sess. target . arch {
You can’t perform that action at this time.
0 commit comments