diff options
| author | est31 <MTest31@outlook.com> | 2023-03-28 02:19:46 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-03-28 02:19:46 +0200 |
| commit | 7bbc8ef02235d1cca7017fb33ed872d3f604bd07 (patch) | |
| tree | e63409f7dda73faff23e765f4588a33cb3e78f9a /compiler/rustc_interface/src | |
| parent | febd59e122f67d26d410a62f661a941a706b28ec (diff) | |
| download | rust-7bbc8ef02235d1cca7017fb33ed872d3f604bd07.tar.gz rust-7bbc8ef02235d1cca7017fb33ed872d3f604bd07.zip | |
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.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/util.rs b/compiler/rustc_interface/src/util.rs index 043892410ce..6fb50aa3904 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, |
