diff options
| author | bors <bors@rust-lang.org> | 2025-01-30 20:21:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-30 20:21:50 +0000 |
| commit | a730edcd67c7cb29d4458e170d4eb290387c27c3 (patch) | |
| tree | f13c435c36768d04e0e503ad556bb9165c1f4a17 /compiler/rustc_codegen_ssa/messages.ftl | |
| parent | 6ac88786155774da429213a1362d4cb085047af3 (diff) | |
| parent | 53238c3db6b293546f0b3bbd835ca85517ae9d8f (diff) | |
| download | rust-a730edcd67c7cb29d4458e170d4eb290387c27c3.tar.gz rust-a730edcd67c7cb29d4458e170d4eb290387c27c3.zip | |
Auto merge of #135030 - Flakebi:require-cpu, r=workingjubilee
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. amdgpu tracking issue: #135024 AVR MCP: https://github.com/rust-lang/compiler-team/issues/800
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 de37de09f5a..186b8171dd8 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 = |
