Skip to content

Commit f569b59

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 aec36f6 + a22ca28 commit f569b59

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ pub struct TargetOptions {
202202
pub post_link_args: Vec<String>,
203203

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

0 commit comments

Comments
 (0)