Skip to content

Commit cad4893

Browse files
authored
Rollup merge of rust-lang#109685 - est31:not_llvm_but_backend, r=jyn514
Make doc comment a little bit more accurate It queries not LLVM in particular but the codegen backend *in general*. While cranelift does not provide target features, other codegen backends do. Found while looking for [this answer](rust-lang#108680 (comment)).
2 parents 90b6c71 + 7bbc8ef commit cad4893

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_interface/src

1 file changed

+1
-1
lines changed

compiler/rustc_interface/src/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub type MakeBackendFn = fn() -> Box<dyn CodegenBackend>;
3434
/// specific features (SSE, NEON etc.).
3535
///
3636
/// This is performed by checking whether a set of permitted features
37-
/// is available on the target machine, by querying LLVM.
37+
/// is available on the target machine, by querying the codegen backend.
3838
pub fn add_configuration(
3939
cfg: &mut CrateConfig,
4040
sess: &mut Session,

0 commit comments

Comments
 (0)