]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_metadata/messages.ftl
New upstream version 1.71.1+dfsg1
[rustc.git] / compiler / rustc_metadata / messages.ftl
CommitLineData
49aad941
FG
1metadata_as_needed_compatibility =
2 linking modifier `as-needed` is only compatible with `dylib` and `framework` linking kinds
f2b60f7d 3
49aad941
FG
4metadata_bad_panic_strategy =
5 the linked panic runtime `{$runtime}` is not compiled with this crate's panic strategy `{$strategy}`
9c376795 6
49aad941
FG
7metadata_bundle_needs_static =
8 linking modifier `bundle` is only compatible with `static` linking kind
f2b60f7d 9
49aad941
FG
10metadata_cannot_find_crate =
11 can't find crate for `{$crate_name}`{$add_info}
f2b60f7d 12
49aad941
FG
13metadata_cant_find_crate =
14 can't find crate
f2b60f7d 15
49aad941
FG
16metadata_compiler_missing_profiler =
17 the compiler may have been built without the profiler runtime
f2b60f7d 18
49aad941
FG
19metadata_conflicting_alloc_error_handler =
20 the `#[alloc_error_handler]` in {$other_crate_name} conflicts with allocation error handler in: {$crate_name}
f2b60f7d 21
49aad941
FG
22metadata_conflicting_global_alloc =
23 the `#[global_allocator]` in {$other_crate_name} conflicts with global allocator in: {$crate_name}
f2b60f7d 24
49aad941
FG
25metadata_consider_building_std =
26 consider building the standard library from source with `cargo build -Zbuild-std`
f2b60f7d 27
49aad941
FG
28metadata_consider_downloading_target =
29 consider downloading the target with `rustup target add {$locator_triple}`
f2b60f7d 30
49aad941
FG
31metadata_crate_dep_multiple =
32 cannot satisfy dependencies so `{$crate_name}` only shows up once
33 .help = having upstream crates all available in one format will likely make this go away
f2b60f7d 34
49aad941
FG
35metadata_crate_location_unknown_type =
36 extern location for {$crate_name} is of an unknown type: {$path}
f2b60f7d 37
49aad941
FG
38metadata_crate_not_panic_runtime =
39 the crate `{$crate_name}` is not a panic runtime
f2b60f7d 40
49aad941
FG
41metadata_dl_error =
42 {$err}
f2b60f7d
FG
43
44metadata_empty_link_name =
45 link name must not be empty
46 .label = empty link name
47
49aad941
FG
48metadata_empty_renaming_target =
49 an empty renaming target was specified for library `{$lib_name}`
f2b60f7d 50
49aad941
FG
51metadata_extern_location_not_exist =
52 extern location for {$crate_name} does not exist: {$location}
f2b60f7d 53
49aad941
FG
54metadata_extern_location_not_file =
55 extern location for {$crate_name} is not a file: {$location}
f2b60f7d 56
49aad941
FG
57metadata_fail_create_file_encoder =
58 failed to create file encoder: {$err}
f2b60f7d 59
49aad941
FG
60metadata_fail_seek_file =
61 failed to seek the file: {$err}
f2b60f7d 62
49aad941
FG
63metadata_fail_write_file =
64 failed to write to the file: {$err}
f2b60f7d 65
49aad941
FG
66metadata_failed_create_encoded_metadata =
67 failed to create encoded metadata from file: {$err}
f2b60f7d 68
49aad941
FG
69metadata_failed_create_file =
70 failed to create the file {$filename}: {$err}
f2b60f7d 71
49aad941
FG
72metadata_failed_create_tempdir =
73 couldn't create a temp dir: {$err}
f2b60f7d 74
49aad941
FG
75metadata_failed_write_error =
76 failed to write {$filename}: {$err}
f2b60f7d 77
49aad941
FG
78metadata_found_crate_versions =
79 the following crate versions were found:{$found_crates}
f2b60f7d 80
49aad941
FG
81metadata_found_staticlib =
82 found staticlib `{$crate_name}` instead of rlib or dylib{$add_info}
83 .help = please recompile that crate using --crate-type lib
f2b60f7d 84
49aad941
FG
85metadata_framework_only_windows =
86 link kind `raw-dylib` is only supported on Windows targets
f2b60f7d 87
49aad941
FG
88metadata_global_alloc_required =
89 no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait
90
91metadata_import_name_type_form =
92 import name type must be of the form `import_name_type = "string"`
93
94metadata_import_name_type_raw =
95 import name type can only be used with link kind `raw-dylib`
96
97metadata_import_name_type_x86 =
98 import name type is only supported on x86
99
100metadata_incompatible_panic_in_drop_strategy =
101 the crate `{$crate_name}` is compiled with the panic-in-drop strategy `{$found_strategy}` which is incompatible with this crate's strategy of `{$desired_strategy}`
102
103metadata_incompatible_rustc =
104 found crate `{$crate_name}` compiled by an incompatible version of rustc{$add_info}
105 .help = please recompile that crate using this compiler ({$rustc_version}) (consider running `cargo clean` first)
f2b60f7d
FG
106
107metadata_incompatible_wasm_link =
108 `wasm_import_module` is incompatible with other arguments in `#[link]` attributes
109
49aad941
FG
110metadata_install_missing_components =
111 maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
f2b60f7d 112
49aad941
FG
113metadata_invalid_link_modifier =
114 invalid linking modifier syntax, expected '+' or '-' prefix before one of: bundle, verbatim, whole-archive, as-needed
f2b60f7d 115
49aad941
FG
116metadata_invalid_meta_files =
117 found invalid metadata files for crate `{$crate_name}`{$add_info}
118
119metadata_lib_filename_form =
120 file name should be lib*.rlib or {$dll_prefix}*{$dll_suffix}
f2b60f7d
FG
121
122metadata_lib_framework_apple =
123 library kind `framework` is only supported on Apple targets
124
49aad941
FG
125metadata_lib_required =
126 crate `{$crate_name}` required to be available in {$kind} format, but was not found in this form
f2b60f7d 127
49aad941
FG
128metadata_link_cfg_form =
129 link cfg must be of the form `cfg(/* predicate */)`
f2b60f7d 130
49aad941
FG
131metadata_link_cfg_single_predicate =
132 link cfg must have a single predicate argument
f2b60f7d 133
49aad941
FG
134metadata_link_framework_apple =
135 link kind `framework` is only supported on Apple targets
f2b60f7d 136
49aad941
FG
137metadata_link_kind_form =
138 link kind must be of the form `kind = "string"`
f2b60f7d 139
49aad941
FG
140metadata_link_modifiers_form =
141 link modifiers must be of the form `modifiers = "string"`
f2b60f7d 142
49aad941
FG
143metadata_link_name_form =
144 link name must be of the form `name = "string"`
f2b60f7d 145
49aad941
FG
146metadata_link_ordinal_raw_dylib =
147 `#[link_ordinal]` is only supported if link kind is `raw-dylib`
f2b60f7d 148
49aad941
FG
149metadata_link_requires_name =
150 `#[link]` attribute requires a `name = "string"` argument
151 .label = missing `name` argument
f2b60f7d 152
49aad941
FG
153metadata_missing_native_library =
154 could not find native static library `{$libname}`, perhaps an -L flag is missing?
f2b60f7d 155
49aad941
FG
156metadata_multiple_candidates =
157 multiple candidates for `{$flavor}` dependency `{$crate_name}` found
f2b60f7d 158
49aad941
FG
159metadata_multiple_cfgs =
160 multiple `cfg` arguments in a single `#[link]` attribute
f2b60f7d 161
49aad941
FG
162metadata_multiple_import_name_type =
163 multiple `import_name_type` arguments in a single `#[link]` attribute
f2b60f7d 164
49aad941
FG
165metadata_multiple_kinds_in_link =
166 multiple `kind` arguments in a single `#[link]` attribute
f2b60f7d 167
49aad941
FG
168metadata_multiple_link_modifiers =
169 multiple `modifiers` arguments in a single `#[link]` attribute
f2b60f7d 170
49aad941
FG
171metadata_multiple_modifiers =
172 multiple `{$modifier}` modifiers in a single `modifiers` argument
487cf647 173
49aad941
FG
174metadata_multiple_names_in_link =
175 multiple `name` arguments in a single `#[link]` attribute
487cf647 176
49aad941
FG
177metadata_multiple_renamings =
178 multiple renamings were specified for library `{$lib_name}`
f2b60f7d 179
49aad941
FG
180metadata_multiple_wasm_import =
181 multiple `wasm_import_module` arguments in a single `#[link]` attribute
487cf647 182
49aad941
FG
183metadata_newer_crate_version =
184 found possibly newer version of crate `{$crate_name}`{$add_info}
185 .note = perhaps that crate needs to be recompiled?
f2b60f7d 186
49aad941
FG
187metadata_no_crate_with_triple =
188 couldn't find crate `{$crate_name}` with expected target triple {$locator_triple}{$add_info}
f2b60f7d 189
49aad941
FG
190metadata_no_dylib_plugin =
191 plugin `{$crate_name}` only found in rlib format, but must be available in dylib format
f2b60f7d 192
49aad941
FG
193metadata_no_link_mod_override =
194 overriding linking modifiers from command line is not supported
f2b60f7d 195
49aad941
FG
196metadata_no_multiple_alloc_error_handler =
197 cannot define multiple allocation error handlers
198 .label = cannot define a new allocation error handler
2b03887a 199
49aad941
FG
200metadata_no_multiple_global_alloc =
201 cannot define multiple global allocators
202 .label = cannot define a new global allocator
f2b60f7d 203
49aad941
FG
204metadata_no_panic_strategy =
205 the crate `{$crate_name}` does not have the panic strategy `{$strategy}`
f2b60f7d 206
49aad941
FG
207metadata_no_transitive_needs_dep =
208 the crate `{$crate_name}` cannot depend on a crate that needs {$needs_crate_name}, but it depends on `{$deps_crate_name}`
f2b60f7d
FG
209
210metadata_non_ascii_name =
211 cannot load a crate with a non-ascii name `{$crate_name}`
212
49aad941
FG
213metadata_not_profiler_runtime =
214 the crate `{$crate_name}` is not a profiler runtime
f2b60f7d 215
49aad941 216metadata_only_provide_library_name = only provide the library name `{$suggested_name}`, not the full filename
f2b60f7d 217
49aad941
FG
218metadata_prev_alloc_error_handler =
219 previous allocation error handler defined here
f2b60f7d 220
49aad941
FG
221metadata_prev_global_alloc =
222 previous global allocator defined here
f2b60f7d 223
49aad941
FG
224metadata_profiler_builtins_needs_core =
225 `profiler_builtins` crate (required by compiler options) is not compatible with crate attribute `#![no_core]`
f2b60f7d 226
49aad941
FG
227metadata_raw_dylib_no_nul =
228 link name must not contain NUL characters if link kind is `raw-dylib`
f2b60f7d 229
49aad941
FG
230metadata_renaming_no_link =
231 renaming of the library `{$lib_name}` was specified, however this crate contains no `#[link(...)]` attributes referencing this library
f2b60f7d 232
49aad941
FG
233metadata_required_panic_strategy =
234 the crate `{$crate_name}` requires panic strategy `{$found_strategy}` which is incompatible with this crate's strategy of `{$desired_strategy}`
f2b60f7d 235
49aad941
FG
236metadata_rlib_required =
237 crate `{$crate_name}` required to be available in rlib format, but was not found in this form
f2b60f7d 238
49aad941
FG
239metadata_rustc_lib_required =
240 crate `{$crate_name}` required to be available in {$kind} format, but was not found in this form
241 .note = only .rmeta files are distributed for `rustc_private` crates other than `rustc_driver`
242 .help = try adding `extern crate rustc_driver;` at the top level of this crate
f2b60f7d 243
49aad941
FG
244metadata_stable_crate_id_collision =
245 found crates (`{$crate_name0}` and `{$crate_name1}`) with colliding StableCrateId values.
f2b60f7d 246
49aad941
FG
247metadata_std_required =
248 `std` is required by `{$current_crate}` because it does not declare `#![no_std]`
f2b60f7d 249
49aad941
FG
250metadata_symbol_conflicts_current =
251 the current crate is indistinguishable from one of its dependencies: it has the same crate-name `{$crate_name}` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
f2b60f7d 252
49aad941
FG
253metadata_symbol_conflicts_others =
254 found two different crates with name `{$crate_name}` that are not distinguished by differing `-C metadata`. This will result in symbol conflicts between the two.
f2b60f7d
FG
255
256metadata_target_no_std_support =
257 the `{$locator_triple}` target may not support the standard library
258
49aad941
FG
259metadata_target_not_installed =
260 the `{$locator_triple}` target may not be installed
f2b60f7d 261
49aad941
FG
262metadata_two_panic_runtimes =
263 cannot link together two panic runtimes: {$prev_name} and {$cur_name}
f2b60f7d 264
49aad941
FG
265metadata_unexpected_link_arg =
266 unexpected `#[link]` argument, expected one of: name, kind, modifiers, cfg, wasm_import_module, import_name_type
f2b60f7d 267
49aad941
FG
268metadata_unknown_import_name_type =
269 unknown import name type `{$import_name_type}`, expected one of: decorated, noprefix, undecorated
f2b60f7d 270
49aad941
FG
271metadata_unknown_link_kind =
272 unknown link kind `{$kind}`, expected one of: static, dylib, framework, raw-dylib
273 .label = unknown link kind
f2b60f7d 274
49aad941
FG
275metadata_unknown_link_modifier =
276 unknown linking modifier `{$modifier}`, expected one of: bundle, verbatim, whole-archive, as-needed
f2b60f7d 277
49aad941
FG
278metadata_unsupported_abi =
279 ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture
f2b60f7d 280
49aad941
FG
281metadata_unsupported_abi_i686 =
282 ABI not supported by `#[link(kind = "raw-dylib")]` on i686
f2b60f7d 283
49aad941
FG
284metadata_wasm_import_form =
285 wasm import module must be of the form `wasm_import_module = "string"`
f2b60f7d 286
49aad941
FG
287metadata_whole_archive_needs_static =
288 linking modifier `whole-archive` is only compatible with `static` linking kind