diff options
| author | Flakebi <flakebi@t-online.de> | 2025-01-02 13:15:21 +0100 |
|---|---|---|
| committer | Flakebi <flakebi@t-online.de> | 2025-01-16 01:22:50 +0100 |
| commit | 53238c3db6b293546f0b3bbd835ca85517ae9d8f (patch) | |
| tree | 1eeaaeedab85b9a71a89ee08d1c6c5d32d48d9d6 /compiler/rustc_codegen_ssa/messages.ftl | |
| parent | bf6f8a4d328f7f3b0f6ea8205ad28591cc11aafd (diff) | |
| download | rust-53238c3db6b293546f0b3bbd835ca85517ae9d8f.tar.gz rust-53238c3db6b293546f0b3bbd835ca85517ae9d8f.zip | |
Target option to require explicit cpu
Some targets have many different CPUs and no generic CPU that can be used as a default. For these targets, the user needs to explicitly specify a CPU through `-C target-cpu=`. Add an option for targets and an error message if no CPU is set. This affects the proposed amdgpu and avr targets.
Diffstat (limited to 'compiler/rustc_codegen_ssa/messages.ftl')
| -rw-r--r-- | compiler/rustc_codegen_ssa/messages.ftl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/messages.ftl b/compiler/rustc_codegen_ssa/messages.ftl index 56188714b44..60e97910e19 100644 --- a/compiler/rustc_codegen_ssa/messages.ftl +++ b/compiler/rustc_codegen_ssa/messages.ftl @@ -30,6 +30,8 @@ codegen_ssa_copy_path = could not copy {$from} to {$to}: {$error} codegen_ssa_copy_path_buf = unable to copy {$source_file} to {$output_path}: {$error} +codegen_ssa_cpu_required = target requires explicitly specifying a cpu with `-C target-cpu` + codegen_ssa_create_temp_dir = couldn't create a temp dir: {$error} codegen_ssa_dlltool_fail_import_library = |
