2023-05-23 01:51:25 +00:00
session_binary_float_literal_not_supported = binary float literal is not supported
session_branch_protection_requires_aarch64 = `-Zbranch-protection` is only supported on aarch64
session_cannot_enable_crt_static_linux = sanitizer is incompatible with statically linked libc, disable it using `-C target-feature=-crt-static`
session_cannot_mix_and_match_sanitizers = `-Zsanitizer={$first}` is incompatible with `-Zsanitizer={$second}`
2022-08-19 13:34:13 +00:00
2023-08-18 06:49:01 +00:00
session_cli_feature_diagnostic_help =
add `-Zcrate-attr="feature({$feature})"` to the command-line options to enable
2023-05-23 01:51:25 +00:00
session_crate_name_does_not_match = `--crate-name` and `#[crate_name]` are required to match, but `{$s}` != `{$name}`
session_crate_name_empty = crate name must not be empty
session_crate_name_invalid = crate names cannot start with a `-`, but `{$s}` has a leading hyphen
2024-04-27 21:14:36 +00:00
session_embed_source_insufficient_dwarf_version = `-Zembed-source=y` requires at least `-Z dwarf-version=5` but DWARF version is {$dwarf_version}
session_embed_source_requires_debug_info = `-Zembed-source=y` requires debug information to be enabled
2023-05-23 01:51:25 +00:00
session_expr_parentheses_needed = parentheses are required to parse this as an expression
2022-08-22 06:28:50 +00:00
2023-12-05 01:47:12 +00:00
session_failed_to_create_profiler = failed to create profiler: {$err}
2022-08-22 06:28:50 +00:00
session_feature_diagnostic_for_issue =
see issue #{$n} <https://github.com/rust-lang/rust/issues/{$n}> for more information
session_feature_diagnostic_help =
add `#![feature({$feature})]` to the crate attributes to enable
2022-08-26 14:06:27 +00:00
2024-03-07 22:09:00 +00:00
session_feature_diagnostic_suggestion =
add `#![feature({$feature})]` to the crate attributes to enable
2023-12-16 21:23:18 +00:00
session_feature_suggest_upgrade_compiler =
2024-01-10 05:37:30 +00:00
this compiler was built on {$date}; consider upgrading it if it is out of date
2023-12-16 21:23:18 +00:00
2023-05-23 01:51:25 +00:00
session_file_is_not_writeable = output file {$file} is not writeable -- check its permissions
2022-08-26 14:06:27 +00:00
2023-07-17 05:13:08 +00:00
session_file_write_fail = failed to write `{$path}` due to error `{$err}`
2023-10-18 14:58:17 +00:00
session_function_return_requires_x86_or_x86_64 = `-Zfunction-return` (except `keep`) is only supported on x86 and x86_64
session_function_return_thunk_extern_requires_non_large_code_model = `-Zfunction-return=thunk-extern` is only supported on non-large code models
2023-05-23 01:51:25 +00:00
session_hexadecimal_float_literal_not_supported = hexadecimal float literal is not supported
2023-04-25 12:48:53 +00:00
session_incompatible_linker_flavor = linker flavor `{$flavor}` is incompatible with the current target
.note = compatible flavors are: {$compatible_list}
2022-10-02 01:55:35 +00:00
session_instrumentation_not_supported = {$us} instrumentation is not supported for this target
2023-05-23 01:51:25 +00:00
session_int_literal_too_large = integer literal is too large
.note = value exceeds limit of `{$limit}`
2022-08-26 14:06:27 +00:00
2023-05-23 01:51:25 +00:00
session_invalid_character_in_create_name = invalid character `{$character}` in crate name: `{$crate_name}`
2023-07-24 05:09:52 +00:00
session_invalid_character_in_create_name_help = you can either pass `--crate-name` on the command line or add `#![crate_name="…"]` to set the crate name
2022-12-13 06:42:44 +00:00
2023-05-23 01:51:25 +00:00
session_invalid_float_literal_suffix = invalid suffix `{$suffix}` for float literal
.label = invalid suffix `{$suffix}`
.help = valid suffixes are `f32` and `f64`
2022-12-13 06:42:44 +00:00
2023-05-23 01:51:25 +00:00
session_invalid_float_literal_width = invalid width `{$width}` for float literal
.help = valid widths are 32 and 64
2022-12-13 06:42:44 +00:00
2023-05-23 01:51:25 +00:00
session_invalid_int_literal_width = invalid width `{$width}` for integer literal
.help = valid widths are 8, 16, 32, 64 and 128
2022-12-13 06:42:44 +00:00
2023-05-23 01:51:25 +00:00
session_invalid_literal_suffix = suffixes on {$kind} literals are invalid
.label = invalid suffix `{$suffix}`
2022-08-26 14:06:27 +00:00
2023-05-23 01:51:25 +00:00
session_invalid_num_literal_base_prefix = invalid base prefix for number literal
.note = base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
.suggestion = try making the prefix lowercase
2022-08-26 14:06:27 +00:00
2023-05-23 01:51:25 +00:00
session_invalid_num_literal_suffix = invalid suffix `{$suffix}` for number literal
.label = invalid suffix `{$suffix}`
.help = the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
2022-09-02 17:29:52 +00:00
2023-05-23 01:51:25 +00:00
session_linker_plugin_lto_windows_not_supported = linker plugin based LTO is not supported together with `-C prefer-dynamic` when targeting Windows-like targets
2022-09-08 06:15:37 +00:00
2023-05-23 01:51:25 +00:00
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
2022-11-21 16:05:51 +00:00
2023-05-23 01:51:25 +00:00
session_not_supported = not supported
2022-09-01 06:03:47 +00:00
2023-05-23 01:51:25 +00:00
session_octal_float_literal_not_supported = octal float literal is not supported
2023-12-05 01:47:12 +00:00
2023-05-23 01:51:25 +00:00
session_optimization_fuel_exhausted = optimization-fuel-exhausted: {$msg}
2022-09-01 06:03:47 +00:00
2024-06-21 22:20:45 +00:00
session_profile_sample_use_file_does_not_exist = file `{$path}` passed to `-C profile-sample-use` does not exist
2022-09-01 06:03:47 +00:00
2024-06-21 22:20:45 +00:00
session_profile_use_file_does_not_exist = file `{$path}` passed to `-C profile-use` does not exist
2022-09-01 06:03:47 +00:00
2023-05-23 01:51:25 +00:00
session_sanitizer_cfi_canonical_jump_tables_requires_cfi = `-Zsanitizer-cfi-canonical-jump-tables` requires `-Zsanitizer=cfi`
2022-08-25 08:58:53 +00:00
2023-05-23 01:51:25 +00:00
session_sanitizer_cfi_generalize_pointers_requires_cfi = `-Zsanitizer-cfi-generalize-pointers` requires `-Zsanitizer=cfi` or `-Zsanitizer=kcfi`
2022-10-14 12:25:43 +00:00
2023-05-23 01:51:25 +00:00
session_sanitizer_cfi_normalize_integers_requires_cfi = `-Zsanitizer-cfi-normalize-integers` requires `-Zsanitizer=cfi` or `-Zsanitizer=kcfi`
2022-11-07 18:47:32 +00:00
2023-07-11 23:19:42 +00:00
session_sanitizer_cfi_requires_lto = `-Zsanitizer=cfi` requires `-Clto` or `-Clinker-plugin-lto`
session_sanitizer_cfi_requires_single_codegen_unit = `-Zsanitizer=cfi` with `-Clto` requires `-Ccodegen-units=1`
2022-11-07 18:47:32 +00:00
2024-03-29 16:35:58 +00:00
session_sanitizer_kcfi_requires_panic_abort = `-Z sanitizer=kcfi` requires `-C panic=abort`
2023-05-23 01:51:25 +00:00
session_sanitizer_not_supported = {$us} sanitizer is not supported for this target
2022-11-07 18:47:32 +00:00
2023-05-23 01:51:25 +00:00
session_sanitizers_not_supported = {$us} sanitizers are not supported for this target
2022-11-07 18:47:32 +00:00
2023-05-23 01:51:25 +00:00
session_skipping_const_checks = skipping const checks
2024-09-03 08:49:16 +00:00
session_soft_float_deprecated =
`-Csoft-float` is unsound and deprecated; use a corresponding *eabi target instead
.note = it will be removed or ignored in a future version of Rust
session_soft_float_deprecated_issue = see issue #129893 <https://github.com/rust-lang/rust/issues/129893> for more information
session_soft_float_ignored =
`-Csoft-float` is ignored on this target; it only has an effect on *eabihf targets
.note = this may become a hard error in a future version of Rust
2023-05-23 01:51:25 +00:00
session_split_debuginfo_unstable_platform = `-Csplit-debuginfo={$debuginfo}` is unstable on this platform
2022-11-07 18:47:32 +00:00
2023-05-23 01:51:25 +00:00
session_split_lto_unit_requires_lto = `-Zsplit-lto-unit` requires `-Clto`, `-Clto=thin`, or `-Clinker-plugin-lto`
2022-11-07 18:47:32 +00:00
2023-05-23 01:51:25 +00:00
session_target_requires_unwind_tables = target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`
2022-11-07 18:47:32 +00:00
2024-09-10 19:19:16 +00:00
session_target_small_data_threshold_not_supported = `-Z small-data-threshold` is not supported for target {$target_triple} and will be ignored
2023-05-23 01:51:25 +00:00
session_target_stack_protector_not_supported = `-Z stack-protector={$stack_protector}` is not supported for target {$target_triple} and will be ignored
2022-11-07 18:47:32 +00:00
2023-05-23 01:51:25 +00:00
session_unleashed_feature_help_named = skipping check for `{$gate}` feature
session_unleashed_feature_help_unnamed = skipping check that does not even have a feature gate
2022-08-19 13:48:15 +00:00
2023-05-23 01:51:25 +00:00
session_unstable_virtual_function_elimination = `-Zvirtual-function-elimination` requires `-Clto`
2023-03-10 14:18:58 +00:00
2024-02-28 21:42:31 +00:00
session_unsupported_crate_type_for_target =
dropping unsupported crate type `{$crate_type}` for target `{$target_triple}`
2023-05-23 01:51:25 +00:00
session_unsupported_dwarf_version = requested DWARF version {$dwarf_version} is greater than 5
2024-09-16 15:14:35 +00:00
session_unsupported_regparm = `-Zregparm={$regparm}` is unsupported (valid values 0-3)
session_unsupported_regparm_arch = `-Zregparm=N` is only supported on x86