Skip to content

Commit 46a6f5f

Browse files
committed
Auto merge of #149853 - matthiaskrgr:rollup-m2rkwqr, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - rust-lang/rust#148052 (Stabilize `const_mul_add`) - rust-lang/rust#149386 (Display funding link in the github overview) - rust-lang/rust#149489 (Experimentally add *heterogeneous* `try` blocks) - rust-lang/rust#149764 (Make `--print=backend-has-zstd` work by default on any backend) - rust-lang/rust#149838 (Build auxiliary in pretty tests) - rust-lang/rust#149839 (Use `PointeeSized` bound for `TrivialClone` impls) - rust-lang/rust#149846 (Statically require links to an issue or the edition guide for all FCWs) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 941af07 + fce51e7 commit 46a6f5f

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ use rustc_codegen_ssa::{CodegenResults, TargetConfig};
4747
use rustc_log::tracing::info;
4848
use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
4949
use rustc_session::Session;
50-
use rustc_session::config::{OutputFilenames, PrintKind, PrintRequest};
50+
use rustc_session::config::OutputFilenames;
5151
use rustc_span::{Symbol, sym};
5252
use rustc_target::spec::{Abi, Arch, Env, Os};
5353

@@ -160,16 +160,6 @@ 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-
173163
fn target_config(&self, sess: &Session) -> TargetConfig {
174164
// FIXME return the actually used target features. this is necessary for #[cfg(target_feature)]
175165
let target_features = match sess.target.arch {

0 commit comments

Comments
 (0)