|
| 1 | +session_apple_deployment_target_invalid = |
| 2 | + failed to parse deployment target specified in {$env_var}: {$error} |
| 3 | +
|
| 4 | +session_apple_deployment_target_too_low = |
| 5 | + deployment target in {$env_var} was set to {$version}, but the minimum supported by `rustc` is {$os_min} |
| 6 | +
|
| 7 | +session_binary_float_literal_not_supported = binary float literal is not supported |
| 8 | +session_branch_protection_requires_aarch64 = `-Zbranch-protection` is only supported on aarch64 |
| 9 | +
|
| 10 | +session_cannot_enable_crt_static_linux = sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static` |
| 11 | +
|
| 12 | +session_cannot_mix_and_match_sanitizers = `-Zsanitizer={$first}` is incompatible with `-Zsanitizer={$second}` |
| 13 | +
|
| 14 | +session_cli_feature_diagnostic_help = |
| 15 | + add `-Zcrate-attr="feature({$feature})"` to the command-line options to enable |
| 16 | +
|
| 17 | +session_crate_name_empty = crate name must not be empty |
| 18 | +
|
| 19 | +session_embed_source_insufficient_dwarf_version = `-Zembed-source=y` requires at least `-Z dwarf-version=5` but DWARF version is {$dwarf_version} |
| 20 | +
|
| 21 | +session_embed_source_requires_debug_info = `-Zembed-source=y` requires debug information to be enabled |
| 22 | +
|
| 23 | +session_expr_parentheses_needed = parentheses are required to parse this as an expression |
| 24 | +
|
| 25 | +session_failed_to_create_profiler = failed to create profiler: {$err} |
| 26 | +
|
| 27 | +session_feature_diagnostic_for_issue = |
| 28 | + see issue #{$n} <https://github.com/rust-lang/rust/issues/{$n}> for more information |
| 29 | +
|
| 30 | +session_feature_diagnostic_help = |
| 31 | + add `#![feature({$feature})]` to the crate attributes to enable |
| 32 | +
|
| 33 | +session_feature_diagnostic_suggestion = |
| 34 | + add `#![feature({$feature})]` to the crate attributes to enable |
| 35 | +
|
| 36 | +session_feature_suggest_upgrade_compiler = |
| 37 | + this compiler was built on {$date}; consider upgrading it if it is out of date |
| 38 | +
|
| 39 | +session_file_is_not_writeable = output file {$file} is not writeable -- check its permissions |
| 40 | +
|
| 41 | +session_file_write_fail = failed to write `{$path}` due to error `{$err}` |
| 42 | +
|
| 43 | +session_function_return_requires_x86_or_x86_64 = `-Zfunction-return` (except `keep`) is only supported on x86 and x86_64 |
| 44 | +
|
| 45 | +session_function_return_thunk_extern_requires_non_large_code_model = `-Zfunction-return=thunk-extern` is only supported on non-large code models |
| 46 | +
|
| 47 | +session_hexadecimal_float_literal_not_supported = hexadecimal float literal is not supported |
| 48 | +
|
| 49 | +session_incompatible_linker_flavor = linker flavor `{$flavor}` is incompatible with the current target |
| 50 | + .note = compatible flavors are: {$compatible_list} |
| 51 | +
|
| 52 | +session_indirect_branch_cs_prefix_requires_x86_or_x86_64 = `-Zindirect-branch-cs-prefix` is only supported on x86 and x86_64 |
| 53 | +
|
| 54 | +session_instrumentation_not_supported = {$us} instrumentation is not supported for this target |
| 55 | +
|
| 56 | +session_int_literal_too_large = integer literal is too large |
| 57 | + .note = value exceeds limit of `{$limit}` |
| 58 | +
|
| 59 | +session_invalid_character_in_crate_name = invalid character {$character} in crate name: `{$crate_name}` |
| 60 | +
|
| 61 | +session_invalid_float_literal_suffix = invalid suffix `{$suffix}` for float literal |
| 62 | + .label = invalid suffix `{$suffix}` |
| 63 | + .help = valid suffixes are `f32` and `f64` |
| 64 | +
|
| 65 | +session_invalid_float_literal_width = invalid width `{$width}` for float literal |
| 66 | + .help = valid widths are 32 and 64 |
| 67 | +
|
| 68 | +session_invalid_int_literal_width = invalid width `{$width}` for integer literal |
| 69 | + .help = valid widths are 8, 16, 32, 64 and 128 |
| 70 | +
|
| 71 | +session_invalid_literal_suffix = suffixes on {$kind} literals are invalid |
| 72 | + .label = invalid suffix `{$suffix}` |
| 73 | +
|
| 74 | +session_invalid_num_literal_base_prefix = invalid base prefix for number literal |
| 75 | + .note = base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase |
| 76 | + .suggestion = try making the prefix lowercase |
| 77 | +
|
| 78 | +session_invalid_num_literal_suffix = invalid suffix `{$suffix}` for number literal |
| 79 | + .label = invalid suffix `{$suffix}` |
| 80 | + .help = the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) |
| 81 | +
|
| 82 | +session_linker_plugin_lto_windows_not_supported = linker plugin based LTO is not supported together with `-C prefer-dynamic` when targeting Windows-like targets |
| 83 | +
|
| 84 | +session_must_be_name_of_associated_function = must be a name of an associated function |
| 85 | +
|
| 86 | +session_not_circumvent_feature = `-Zunleash-the-miri-inside-of-you` may not be used to circumvent feature gates, except when testing error paths in the CTFE engine |
| 87 | +
|
| 88 | +session_not_supported = not supported |
| 89 | +
|
| 90 | +session_octal_float_literal_not_supported = octal float literal is not supported |
| 91 | +
|
| 92 | +session_profile_sample_use_file_does_not_exist = file `{$path}` passed to `-C profile-sample-use` does not exist |
| 93 | +
|
| 94 | +session_profile_use_file_does_not_exist = file `{$path}` passed to `-C profile-use` does not exist |
| 95 | +
|
| 96 | +session_sanitizer_cfi_canonical_jump_tables_requires_cfi = `-Zsanitizer-cfi-canonical-jump-tables` requires `-Zsanitizer=cfi` |
| 97 | +
|
| 98 | +session_sanitizer_cfi_generalize_pointers_requires_cfi = `-Zsanitizer-cfi-generalize-pointers` requires `-Zsanitizer=cfi` or `-Zsanitizer=kcfi` |
| 99 | +
|
| 100 | +session_sanitizer_cfi_normalize_integers_requires_cfi = `-Zsanitizer-cfi-normalize-integers` requires `-Zsanitizer=cfi` or `-Zsanitizer=kcfi` |
| 101 | +
|
| 102 | +session_sanitizer_cfi_requires_lto = `-Zsanitizer=cfi` requires `-Clto` or `-Clinker-plugin-lto` |
| 103 | +
|
| 104 | +session_sanitizer_cfi_requires_single_codegen_unit = `-Zsanitizer=cfi` with `-Clto` requires `-Ccodegen-units=1` |
| 105 | +
|
| 106 | +session_sanitizer_kcfi_arity_requires_kcfi = `-Zsanitizer-kcfi-arity` requires `-Zsanitizer=kcfi` |
| 107 | +
|
| 108 | +session_sanitizer_kcfi_requires_panic_abort = `-Z sanitizer=kcfi` requires `-C panic=abort` |
| 109 | +
|
| 110 | +session_sanitizer_not_supported = {$us} sanitizer is not supported for this target |
| 111 | +
|
| 112 | +session_sanitizers_not_supported = {$us} sanitizers are not supported for this target |
| 113 | +
|
| 114 | +session_skipping_const_checks = skipping const checks |
| 115 | +
|
| 116 | +session_soft_float_deprecated = |
| 117 | + `-Csoft-float` is unsound and deprecated; use a corresponding *eabi target instead |
| 118 | + .note = it will be removed or ignored in a future version of Rust |
| 119 | +session_soft_float_deprecated_issue = see issue #129893 <https://github.com/rust-lang/rust/issues/129893> for more information |
| 120 | +
|
| 121 | +session_soft_float_ignored = |
| 122 | + `-Csoft-float` is ignored on this target; it only has an effect on *eabihf targets |
| 123 | + .note = this may become a hard error in a future version of Rust |
| 124 | +
|
| 125 | +session_split_debuginfo_unstable_platform = `-Csplit-debuginfo={$debuginfo}` is unstable on this platform |
| 126 | +
|
| 127 | +session_split_lto_unit_requires_lto = `-Zsplit-lto-unit` requires `-Clto`, `-Clto=thin`, or `-Clinker-plugin-lto` |
| 128 | +
|
| 129 | +session_target_requires_unwind_tables = target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no` |
| 130 | +
|
| 131 | +session_target_small_data_threshold_not_supported = `-Z small-data-threshold` is not supported for target {$target_triple} and will be ignored |
| 132 | +
|
| 133 | +session_target_stack_protector_not_supported = `-C stack-protector={$stack_protector}` is not supported for target {$target_triple} |
| 134 | +
|
| 135 | +session_unexpected_builtin_cfg = unexpected `--cfg {$cfg}` flag |
| 136 | + .controlled_by = config `{$cfg_name}` is only supposed to be controlled by `{$controlled_by}` |
| 137 | + .incoherent = manually setting a built-in cfg can and does create incoherent behaviors |
| 138 | +
|
| 139 | +session_unleashed_feature_help_named = skipping check for `{$gate}` feature |
| 140 | +session_unleashed_feature_help_unnamed = skipping check that does not even have a feature gate |
| 141 | +
|
| 142 | +session_unstable_virtual_function_elimination = `-Zvirtual-function-elimination` requires `-Clto` |
| 143 | +
|
| 144 | +session_unsupported_crate_type_for_codegen_backend = |
| 145 | + dropping unsupported crate type `{$crate_type}` for codegen backend `{$codegen_backend}` |
| 146 | +
|
| 147 | +session_unsupported_crate_type_for_target = |
| 148 | + dropping unsupported crate type `{$crate_type}` for target `{$target_triple}` |
| 149 | +
|
| 150 | +session_unsupported_dwarf_version = requested DWARF version {$dwarf_version} is not supported |
| 151 | +session_unsupported_dwarf_version_help = supported DWARF versions are 2, 3, 4 and 5 |
| 152 | +
|
| 153 | +session_unsupported_reg_struct_return_arch = `-Zreg-struct-return` is only supported on x86 |
| 154 | +session_unsupported_regparm = `-Zregparm={$regparm}` is unsupported (valid values 0-3) |
| 155 | +session_unsupported_regparm_arch = `-Zregparm=N` is only supported on x86 |
0 commit comments