2022-10-30 18:26:12 +00:00
codegen_llvm_copy_bitcode = failed to copy bitcode to object file: {$err}
2022-08-25 13:34:30 +00:00
2022-10-30 18:26:12 +00:00
codegen_llvm_dlltool_fail_import_library =
2023-06-13 16:16:06 +00:00
Dlltool could not create import library with {$dlltool_path} {$dlltool_args}:
{$stdout}
2023-03-29 15:00:48 +00:00
{$stderr}
2023-05-23 01:51:25 +00:00
2022-10-30 18:26:12 +00:00
codegen_llvm_dynamic_linking_with_lto =
cannot prefer dynamic linking when performing LTO
.note = only 'staticlib', 'bin', and 'cdylib' outputs are supported with LTO
2023-05-23 01:51:25 +00:00
2022-10-30 18:26:12 +00:00
codegen_llvm_error_calling_dlltool =
Error calling dlltool '{$dlltool_path}': {$error}
2022-08-25 19:01:36 +00:00
codegen_llvm_error_creating_import_library =
Error creating import library for {$lib_name}: {$error}
2022-08-25 21:08:18 +00:00
2022-08-25 22:08:05 +00:00
codegen_llvm_error_writing_def_file =
2022-08-25 21:30:17 +00:00
Error writing .DEF file: {$error}
2023-05-23 01:51:25 +00:00
2024-05-15 08:01:55 +00:00
codegen_llvm_fixed_x18_invalid_arch = the `-Zfixed-x18` flag is not supported on the `{$arch}` architecture
2022-08-25 21:30:17 +00:00
codegen_llvm_from_llvm_diag = {$message}
2022-08-25 22:03:53 +00:00
2023-05-04 13:39:21 +00:00
codegen_llvm_from_llvm_optimization_diag = {$filename}:{$line}:{$column} {$pass_name} ({$kind}): {$message}
2023-05-17 10:30:14 +00:00
codegen_llvm_invalid_minimum_alignment_not_power_of_two =
invalid minimum global alignment: {$align} is not power of 2
codegen_llvm_invalid_minimum_alignment_too_large =
invalid minimum global alignment: {$align} is too large
2022-08-26 08:40:48 +00:00
2024-02-04 00:57:47 +00:00
codegen_llvm_invalid_target_feature_prefix = target feature `{$feature}` must begin with a `+` or `-`"
2022-08-26 10:19:10 +00:00
codegen_llvm_load_bitcode = failed to load bitcode of module "{$name}"
2022-08-26 12:17:15 +00:00
codegen_llvm_load_bitcode_with_llvm_err = failed to load bitcode of module "{$name}": {$llvm_err}
2022-08-26 12:29:33 +00:00
codegen_llvm_lto_bitcode_from_rlib = failed to get bitcode from object file for LTO ({$llvm_err})
2022-08-26 17:01:22 +00:00
codegen_llvm_lto_disallowed = lto can only be run for executables, cdylibs and static library outputs
2022-08-26 17:42:29 +00:00
2022-08-30 10:22:08 +00:00
codegen_llvm_lto_dylib = lto cannot be used for `dylib` crate type without `-Zdylib-lto`
2022-08-26 19:27:17 +00:00
2023-09-23 14:08:43 +00:00
codegen_llvm_lto_proc_macro = lto cannot be used for `proc-macro` crate type without `-Zdylib-lto`
2024-01-17 14:26:26 +00:00
codegen_llvm_mismatch_data_layout =
data-layout for target `{$rustc_target}`, `{$rustc_layout}`, differs from LLVM target's `{$llvm_target}` default layout, `{$llvm_layout}`
2022-08-26 19:27:17 +00:00
codegen_llvm_missing_features =
add the missing features in a `target_feature` attribute
2022-10-30 15:07:04 +00:00
codegen_llvm_multiple_source_dicompileunit = multiple source DICompileUnits found
codegen_llvm_multiple_source_dicompileunit_with_llvm_err = multiple source DICompileUnits found: {$llvm_err}
2023-05-23 01:51:25 +00:00
2022-10-30 15:07:04 +00:00
codegen_llvm_parse_bitcode = failed to parse bitcode for LTO module
codegen_llvm_parse_bitcode_with_llvm_err = failed to parse bitcode for LTO module: {$llvm_err}
2022-08-19 13:48:15 +00:00
codegen_llvm_parse_target_machine_config =
2022-10-30 15:07:04 +00:00
failed to parse target machine config to target machine: {$error}
2022-08-19 13:48:15 +00:00
codegen_llvm_prepare_thin_lto_context = failed to prepare thin LTO context
codegen_llvm_prepare_thin_lto_context_with_llvm_err = failed to prepare thin LTO context: {$llvm_err}
codegen_llvm_prepare_thin_lto_module = failed to prepare thin LTO module
codegen_llvm_prepare_thin_lto_module_with_llvm_err = failed to prepare thin LTO module: {$llvm_err}
codegen_llvm_run_passes = failed to run LLVM passes
codegen_llvm_run_passes_with_llvm_err = failed to run LLVM passes: {$llvm_err}
2022-08-26 10:19:10 +00:00
codegen_llvm_sanitizer_memtag_requires_mte =
`-Zsanitizer=memtag` requires `-Ctarget-feature=+mte`
2023-05-23 01:51:25 +00:00
2022-08-19 13:48:15 +00:00
codegen_llvm_serialize_module = failed to serialize module {$name}
codegen_llvm_serialize_module_with_llvm_err = failed to serialize module {$name}: {$llvm_err}
codegen_llvm_symbol_already_defined =
symbol `{$symbol_name}` is already defined
codegen_llvm_target_feature_disable_or_enable =
the target features {$features} must all be either enabled or disabled together
codegen_llvm_target_machine = could not create LLVM TargetMachine for triple: {$triple}
codegen_llvm_target_machine_with_llvm_err = could not create LLVM TargetMachine for triple: {$triple}: {$llvm_err}
codegen_llvm_unknown_ctarget_feature =
2023-11-05 17:06:19 +00:00
unknown and unstable feature specified for `-Ctarget-feature`: `{$feature}`
.note = it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
2022-08-19 13:48:15 +00:00
.possible_feature = you might have meant: `{$rust_feature}`
.consider_filing_feature_request = consider filing a feature request
codegen_llvm_unknown_ctarget_feature_prefix =
unknown feature specified for `-Ctarget-feature`: `{$feature}`
.note = features must begin with a `+` to enable or `-` to disable it
2023-07-12 21:07:34 +00:00
codegen_llvm_unknown_debuginfo_compression = unknown debuginfo compression algorithm {$algorithm} - will fall back to uncompressed debuginfo
2023-11-05 17:06:19 +00:00
codegen_llvm_unstable_ctarget_feature =
unstable feature specified for `-Ctarget-feature`: `{$feature}`
.note = this feature is not stably supported; its behavior can change in the future
2022-08-19 13:48:15 +00:00
codegen_llvm_write_bytecode = failed to write bytecode to {$path}: {$err}
2023-05-04 13:39:21 +00:00
codegen_llvm_write_ir = failed to write LLVM IR to {$path}
codegen_llvm_write_ir_with_llvm_err = failed to write LLVM IR to {$path}: {$llvm_err}
2022-08-19 13:48:15 +00:00
codegen_llvm_write_output = could not write output to {$path}
codegen_llvm_write_output_with_llvm_err = could not write output to {$path}: {$llvm_err}
codegen_llvm_write_thinlto_key = error while writing ThinLTO key data: {$err}
codegen_llvm_write_thinlto_key_with_llvm_err = error while writing ThinLTO key data: {$err}: {$llvm_err}