1
Fork 0

rustc_metadata: make "link {arg,cfg} is unstable" translatable

This commit is contained in:
Pavel Grigorenko 2024-08-09 01:22:25 +03:00
parent d5486360ae
commit 007cc2c23a
2 changed files with 17 additions and 5 deletions

View file

@ -131,12 +131,18 @@ metadata_lib_framework_apple =
metadata_lib_required =
crate `{$crate_name}` required to be available in {$kind} format, but was not found in this form
metadata_link_arg_unstable =
link kind `link-arg` is unstable
metadata_link_cfg_form =
link cfg must be of the form `cfg(/* predicate */)`
metadata_link_cfg_single_predicate =
link cfg must have a single predicate argument
metadata_link_cfg_unstable =
link cfg is unstable
metadata_link_framework_apple =
link kind `framework` is only supported on Apple targets