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.
This commit is contained in:
parent
febd59e122
commit
7bbc8ef022
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ pub type MakeBackendFn = fn() -> Box<dyn CodegenBackend>;
|
||||||
/// specific features (SSE, NEON etc.).
|
/// specific features (SSE, NEON etc.).
|
||||||
///
|
///
|
||||||
/// This is performed by checking whether a set of permitted features
|
/// 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(
|
pub fn add_configuration(
|
||||||
cfg: &mut CrateConfig,
|
cfg: &mut CrateConfig,
|
||||||
sess: &mut Session,
|
sess: &mut Session,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue