Skip to content

Commit 47b6999

Browse files
committed
Rollup merge of #33430 - phil-opp:patch-1, r=alexcrichton
[Doc] Default cpu is "generic" (and not "default") See [line 305](https://github.com/phil-opp/rust/blob/a22ca2872ef6782306012e6817dc4b8b778c43e9/src/librustc_back/target/mod.rs#L305).
2 parents 8842100 + a22ca28 commit 47b6999

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_back/target

1 file changed

+1
-1
lines changed

src/librustc_back/target/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ pub struct TargetOptions {
201201
pub post_link_args: Vec<String>,
202202

203203
/// Default CPU to pass to LLVM. Corresponds to `llc -mcpu=$cpu`. Defaults
204-
/// to "default".
204+
/// to "generic".
205205
pub cpu: String,
206206
/// Default target features to pass to LLVM. These features will *always* be
207207
/// passed, and cannot be disabled even via `-C`. Corresponds to `llc

0 commit comments

Comments
 (0)