Skip to content

Commit 82ab0cd

Browse files
authored
Rollup merge of rust-lang#83711 - JohnTitor:more-friendly-unknown-target-error, r=davidtwco
Clarify `--print target-list` is a rustc's option Fixes rust-lang#68238
2 parents 4232a21 + 82c6709 commit 82ab0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ pub fn build_target_config(opts: &Options, target_override: Option<Target>) -> T
953953
opts.error_format,
954954
&format!(
955955
"Error loading target specification: {}. \
956-
Use `--print target-list` for a list of built-in targets",
956+
Run `rustc --print target-list` for a list of built-in targets",
957957
e
958958
),
959959
)

0 commit comments

Comments
 (0)