mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
d5119c5b9f
Extend loading of Fluent bundles so that bundles can be loaded from the sysroot based on the language requested by the user, or using a nightly flag. Sysroot bundles are loaded from `$sysroot/share/locale/$locale/*.ftl`. Signed-off-by: David Wood <david.wood@huawei.com>
18 lines
433 B
TOML
18 lines
433 B
TOML
[package]
|
|
name = "rustc_error_messages"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
fluent-bundle = "0.15.2"
|
|
fluent-syntax = "0.11"
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
tracing = "0.1"
|
|
unic-langid = { version = "0.9.0", features = ["macros"] }
|