about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-28 07:01:12 +0200
committerGitHub <noreply@github.com>2023-03-28 07:01:12 +0200
commitcad4893a527439fe93fbaf5d6ce81d80e2fb9d5f (patch)
tree20e2c544ca54f3cc1a15d3637847861534729111 /compiler/rustc_interface/src
parent90b6c715dfe203f6cf804554d43932fbb901251f (diff)
parent7bbc8ef02235d1cca7017fb33ed872d3f604bd07 (diff)
downloadrust-cad4893a527439fe93fbaf5d6ce81d80e2fb9d5f.tar.gz
rust-cad4893a527439fe93fbaf5d6ce81d80e2fb9d5f.zip
Rollup merge of #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](https://github.com/rust-lang/rust/issues/108680#issuecomment-1484324690).
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/util.rs b/compiler/rustc_interface/src/util.rs
index 8abdcebb751..f3c80c6d854 100644
--- a/compiler/rustc_interface/src/util.rs
+++ b/compiler/rustc_interface/src/util.rs
@@ -34,7 +34,7 @@ pub type MakeBackendFn = fn() -> Box<dyn CodegenBackend>;
 /// specific features (SSE, NEON etc.).
 ///
 /// This is performed by checking whether a set of permitted features
-/// is available on the target machine, by querying LLVM.
+/// is available on the target machine, by querying the codegen backend.
 pub fn add_configuration(
     cfg: &mut CrateConfig,
     sess: &mut Session,