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