1
Fork 0

Rollup merge of #129988 - arnaudgolfouse:modify-locale_resources, r=davidtwco

Use `Vec` in `rustc_interface::Config::locale_resources`

This allows a third-party tool to injects its own resources, when receiving the config via `rustc_driver::Callbacks::config`.
This commit is contained in:
Matthias Krüger 2024-09-17 17:28:32 +02:00 committed by GitHub
commit 732ad59779
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 5 deletions

View file

@ -320,7 +320,7 @@ fn run_compiler(
output_dir: odir,
ice_file,
file_loader,
locale_resources: DEFAULT_LOCALE_RESOURCES,
locale_resources: DEFAULT_LOCALE_RESOURCES.to_vec(),
lint_caps: Default::default(),
psess_created: None,
hash_untracked_state: None,