about summary refs log tree commit diff
path: root/compiler/rustc_baked_icu_data/src
AgeCommit message (Collapse)AuthorLines
2025-08-28Use default locale fallback dataRobert Bastian-191/+20
2025-08-28Bump icu_list to 2.0Robert Bastian-227/+294
2025-03-11Add `unreachable_pub` to `RUSTC_LINT_FLAGS` for `compiler/` crates.Nicholas Nethercote-0/+1
And fix the new errors in the handful of crates that didn't have a `#![warn(unreachable_pub)]`.
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-1/+1
Revert <https://github.com/rust-lang/rust/pull/138084> to buy time to consider options that avoids breaking downstream usages of cargo on distributed `rustc-src` artifacts, where such cargo invocations fail due to inability to inherit `lints` from workspace root manifest's `workspace.lints` (this is only valid for the source rust-lang/rust workspace, but not really the distributed `rustc-src` artifacts). This breakage was reported in <https://github.com/rust-lang/rust/issues/138304>. This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing changes made to c6662879b27f5161e95f39395e3c9513a7b97028.
2025-03-08Add `unreachable_pub` to the default lints for `compiler/` crates.Nicholas Nethercote-1/+1
And fix the new errors in the handful of crates that didn't have a `#![warn(unreachable_pub)]`.
2024-08-16Don't add `warn(unreachable_pub)` to `rustc_baked_icu`.Nicholas Nethercote-0/+1
But explain why.
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-2/+4
We already do this for a number of crates, e.g. `rustc_middle`, `rustc_span`, `rustc_metadata`, `rustc_span`, `rustc_errors`. For the ones we don't, in many cases the attributes are a mess. - There is no consistency about order of attribute kinds (e.g. `allow`/`deny`/`feature`). - Within attribute kind groups (e.g. the `feature` attributes), sometimes the order is alphabetical, and sometimes there is no particular order. - Sometimes the attributes of a particular kind aren't even grouped all together, e.g. there might be a `feature`, then an `allow`, then another `feature`. This commit extends the existing sorting to all compiler crates, increasing consistency. If any new attribute line is added there is now only one place it can go -- no need for arbitrary decisions. Exceptions: - `rustc_log`, `rustc_next_trait_solver` and `rustc_type_ir_macros`, because they have no crate attributes. - `rustc_codegen_gcc`, because it's quasi-external to rustc (e.g. it's ignored in `rustfmt.toml`).
2023-11-15Bump cfg(bootstrap)sMark Rousskov-3/+3
2023-11-06Update ICU4XNilstrieb-873/+198
This updates all ICU4X crates and regenerates rustc_baked_icu_data. Since the new unicode license under which they are licensed does not have an SPDX identifier yet, we define some exceptions. The license has to be reviewed to make sure it is still fine to use here, but I assume that is the case. I also added an exception for rustc_icu_data to the unexplained ignore doctest tidy lint. This is a bit hacky but the whole style.rs in tidy is a mess so I didn't want to touch it more than this small hack.
2023-10-16docs: add Rust logo to more compiler cratesMichael Howell-0/+4
c6e6ecb1afea9695a42d0f148ce153536b279eb5 added it to some of the compiler's crates, but avoided adding it to all of them to reduce bit-rot. This commit adds to more.
2023-05-02Regen baked dataManish Goregaokar-2018/+188
2023-02-04update ICU4X to 1.1.0Lukas Markeffsky-2265/+2702
2022-11-18Update crate documentation of `rustc_baked_icu_data` crateCharles Lew-21/+20
2022-11-18Include `zh` locale in icu dataCharles Lew-8/+9
2022-11-18Import icu locale fallback dataCharles Lew-2/+1094
2022-11-18Migrate diagnostics list output to use icu list formatter.Charles Lew-6/+20
2022-11-18Add `rustc_baked_icu_data` crate.Charles Lew-0/+1222