1 codegen_llvm_unknown_ctarget_feature =
2 unknown feature specified for `-Ctarget-feature`: `{$feature}`
3 .note = it is still passed through to the codegen backend
4 .possible_feature = you might have meant: `{$rust_feature}`
5 .consider_filing_feature_request = consider filing a feature request
7 codegen_llvm_unknown_ctarget_feature_prefix =
8 unknown feature specified for `-Ctarget-feature`: `{$feature}`
9 .note = features must begin with a `+` to enable or `-` to disable it
11 codegen_llvm_error_creating_import_library =
12 Error creating import library for {$lib_name}: {$error}
14 codegen_llvm_instrument_coverage_requires_llvm_12 =
15 rustc option `-C instrument-coverage` requires LLVM 12 or higher.
17 codegen_llvm_symbol_already_defined =
18 symbol `{$symbol_name}` is already defined
20 codegen_llvm_branch_protection_requires_aarch64 =
21 -Zbranch-protection is only supported on aarch64
23 codegen_llvm_invalid_minimum_alignment =
24 invalid minimum global alignment: {$err}
26 codegen_llvm_linkage_const_or_mut_type =
27 must have type `*const T` or `*mut T` due to `#[linkage]` attribute
29 codegen_llvm_sanitizer_memtag_requires_mte =
30 `-Zsanitizer=memtag` requires `-Ctarget-feature=+mte`
32 codegen_llvm_archive_build_failure =
33 failed to build archive: {$error}
35 codegen_llvm_error_writing_def_file =
36 Error writing .DEF file: {$error}
38 codegen_llvm_error_calling_dlltool =
39 Error calling dlltool: {$error}
41 codegen_llvm_dlltool_fail_import_library =
42 Dlltool could not create import library: {$stdout}\n{$stderr}
44 codegen_llvm_unknown_archive_kind =
45 Don't know how to build archive of type: {$kind}
47 codegen_llvm_target_feature_disable_or_enable =
48 the target features {$features} must all be either enabled or disabled together
50 codegen_llvm_missing_features =
51 add the missing features in a `target_feature` attribute
53 codegen_llvm_dynamic_linking_with_lto =
54 cannot prefer dynamic linking when performing LTO
55 .note = only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO
57 codegen_llvm_fail_parsing_target_machine_config_to_target_machine =
58 failed to parse target machine config to target machine: {$error}