Skip to content

Commit 7bbc8ef

Browse files
committed
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.
1 parent febd59e commit 7bbc8ef

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)