diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-04-01 02:41:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-01 02:41:47 +0200 |
| commit | 1ef52ac5f598ab2d07d4fa200616470113524e95 (patch) | |
| tree | 30ede15dacd17373b67239a7e2e19864eef7c722 | |
| parent | ea277f1909f9afb31baec14bc072b085f5c565c0 (diff) | |
| parent | 82c6709d6fe46f6b7f2e7dc14e42eac1b5543080 (diff) | |
| download | rust-1ef52ac5f598ab2d07d4fa200616470113524e95.tar.gz rust-1ef52ac5f598ab2d07d4fa200616470113524e95.zip | |
Rollup merge of #83711 - JohnTitor:more-friendly-unknown-target-error, r=davidtwco
Clarify `--print target-list` is a rustc's option Fixes #68238
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index 6540d461047..3692219cb6d 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -953,7 +953,7 @@ pub fn build_target_config(opts: &Options, target_override: Option<Target>) -> T opts.error_format, &format!( "Error loading target specification: {}. \ - Use `--print target-list` for a list of built-in targets", + Run `rustc --print target-list` for a list of built-in targets", e ), ) |
