Skip to content

Commit 0416b1a

Browse files
committed
Auto merge of #108056 - matthiaskrgr:rollup-oa6bxvh, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #107573 (Update the minimum external LLVM to 14) - #107626 (Fix `x fix` on the standard library itself) - #107673 (update ICU4X to 1.1.0) - #107733 (Store metrics from `metrics.json` to CI PGO timer) - #108007 (Use `is_str` instead of string kind comparison) - #108033 (add an unstable `#[rustc_coinductive]` attribute) - #108039 (Refactor refcounted structural_impls via functors) - #108040 (Use derive attributes for uninteresting traversals) - #108044 (interpret: rename Pointer::from_addr → from_addr_invalid) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2 parents 6e01157 + 8e82c8c commit 0416b1a

File tree

106 files changed

+3190
-2703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+3190
-2703
lines changed

.github/workflows/ci.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
tidy: true
5555
os: ubuntu-20.04-xl
5656
env: {}
57-
- name: x86_64-gnu-llvm-13
57+
- name: x86_64-gnu-llvm-14
5858
tidy: false
5959
os: ubuntu-20.04-xl
6060
env: {}
@@ -300,11 +300,7 @@ jobs:
300300
env:
301301
RUST_BACKTRACE: 1
302302
os: ubuntu-20.04-xl
303-
- name: x86_64-gnu-llvm-13
304-
env:
305-
RUST_BACKTRACE: 1
306-
os: ubuntu-20.04-xl
307-
- name: x86_64-gnu-llvm-13-stage1
303+
- name: x86_64-gnu-llvm-14-stage1
308304
env:
309305
RUST_BACKTRACE: 1
310306
os: ubuntu-20.04-xl

Cargo.lock

+26-30
Original file line numberDiff line numberDiff line change
@@ -874,9 +874,9 @@ dependencies = [
874874

875875
[[package]]
876876
name = "compiler_builtins"
877-
version = "0.1.85"
877+
version = "0.1.87"
878878
source = "registry+https://github.com/rust-lang/crates.io-index"
879-
checksum = "13e81c6cd7ab79f51a0c927d22858d61ad12bd0b3865f0b13ece02a4486aeabb"
879+
checksum = "f867ce54c09855ccd135ad4a50c777182a0c7af5ff20a8f537617bd648b10d50"
880880
dependencies = [
881881
"cc",
882882
"rustc-std-workspace-core",
@@ -2027,23 +2027,21 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
20272027

20282028
[[package]]
20292029
name = "icu_list"
2030-
version = "1.0.0"
2030+
version = "1.1.0"
20312031
source = "registry+https://github.com/rust-lang/crates.io-index"
2032-
checksum = "c40218275f081c4493f190357c5395647b06734c2dc3dcb41cc099a0f60168b1"
2032+
checksum = "01a65ff0cab77c33c7e165c858eaa6e84a09f1e485dd495d9d0ae61083c6f786"
20332033
dependencies = [
20342034
"displaydoc",
2035-
"icu_locid",
20362035
"icu_provider",
20372036
"regex-automata 0.2.0",
20382037
"writeable",
2039-
"zerovec",
20402038
]
20412039

20422040
[[package]]
20432041
name = "icu_locid"
2044-
version = "1.0.0"
2042+
version = "1.1.0"
20452043
source = "registry+https://github.com/rust-lang/crates.io-index"
2046-
checksum = "34b3de5d99a0e275fe6193b9586dbf37364daebc0d39c89b5cf8376a53b789e8"
2044+
checksum = "71d7a98ecb812760b5f077e55a4763edeefa7ccc30d6eb5680a70841ede81928"
20472045
dependencies = [
20482046
"displaydoc",
20492047
"litemap",
@@ -2054,9 +2052,9 @@ dependencies = [
20542052

20552053
[[package]]
20562054
name = "icu_provider"
2057-
version = "1.0.1"
2055+
version = "1.1.0"
20582056
source = "registry+https://github.com/rust-lang/crates.io-index"
2059-
checksum = "2f911086e3c521a8a824d4f8bfd87769645ced2f07ff913b521c0d793be07100"
2057+
checksum = "a86816c97bc4e613086497f9479f63e120315e056763e8c4435604f98d21d82d"
20602058
dependencies = [
20612059
"displaydoc",
20622060
"icu_locid",
@@ -2070,9 +2068,9 @@ dependencies = [
20702068

20712069
[[package]]
20722070
name = "icu_provider_adapters"
2073-
version = "1.0.0"
2071+
version = "1.1.0"
20742072
source = "registry+https://github.com/rust-lang/crates.io-index"
2075-
checksum = "980c71d8a91b246ebbb97847178a4b816eea39d1d550c70ee566384555bb6545"
2073+
checksum = "8e89bf33962b24bb48a4a21330c20c9ff17949338ea376360dd9eda2c209dca1"
20762074
dependencies = [
20772075
"icu_locid",
20782076
"icu_provider",
@@ -2083,9 +2081,9 @@ dependencies = [
20832081

20842082
[[package]]
20852083
name = "icu_provider_macros"
2086-
version = "1.0.0"
2084+
version = "1.1.0"
20872085
source = "registry+https://github.com/rust-lang/crates.io-index"
2088-
checksum = "38cf6f5b65cf81f0b4298da647101acbfe6ae0e25263f92bd7a22597e9d6d606"
2086+
checksum = "9ddb07844c2ffc4c28840e799e9e54ff054393cf090740decf25624e9d94b93a"
20892087
dependencies = [
20902088
"proc-macro2",
20912089
"quote",
@@ -2451,9 +2449,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
24512449

24522450
[[package]]
24532451
name = "litemap"
2454-
version = "0.6.0"
2452+
version = "0.6.1"
24552453
source = "registry+https://github.com/rust-lang/crates.io-index"
2456-
checksum = "f34a3f4798fac63fb48cf277eefa38f94d3443baff555bb98e4f56bc9092368e"
2454+
checksum = "575d8a551c59104b4df91269921e5eab561aa1b77c618dac0414b5d44a4617de"
24572455

24582456
[[package]]
24592457
name = "lld-wrapper"
@@ -3756,7 +3754,6 @@ dependencies = [
37563754
"icu_locid",
37573755
"icu_provider",
37583756
"icu_provider_adapters",
3759-
"litemap",
37603757
"zerovec",
37613758
]
37623759

@@ -3998,7 +3995,6 @@ dependencies = [
39983995
"rustc_span",
39993996
"tracing",
40003997
"unic-langid",
4001-
"writeable",
40023998
]
40033999

40044000
[[package]]
@@ -5660,9 +5656,9 @@ dependencies = [
56605656

56615657
[[package]]
56625658
name = "tinystr"
5663-
version = "0.7.0"
5659+
version = "0.7.1"
56645660
source = "registry+https://github.com/rust-lang/crates.io-index"
5665-
checksum = "f8aeafdfd935e4a7fe16a91ab711fa52d54df84f9c8f7ca5837a9d1d902ef4c2"
5661+
checksum = "7ac3f5b6856e931e15e07b478e98c8045239829a65f9156d4fa7e7788197a5ef"
56665662
dependencies = [
56675663
"displaydoc",
56685664
"zerovec",
@@ -6352,9 +6348,9 @@ checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
63526348

63536349
[[package]]
63546350
name = "writeable"
6355-
version = "0.5.0"
6351+
version = "0.5.1"
63566352
source = "registry+https://github.com/rust-lang/crates.io-index"
6357-
checksum = "f8e6ab4f5da1b24daf2c590cfac801bacb27b15b4f050e84eb60149ea726f06b"
6353+
checksum = "92d74a687e3b9a7a129db0a8c82b4d464eb9c36f5a66ca68572a7e5f1cfdb5bc"
63586354

63596355
[[package]]
63606356
name = "xattr"
@@ -6411,9 +6407,9 @@ dependencies = [
64116407

64126408
[[package]]
64136409
name = "yoke"
6414-
version = "0.6.2"
6410+
version = "0.7.0"
64156411
source = "registry+https://github.com/rust-lang/crates.io-index"
6416-
checksum = "1fe1d55ca72c32d573bfbd5cb2f0ca65a497854c44762957a6d3da96041a5184"
6412+
checksum = "222180af14a6b54ef2c33493c1eff77ae95a3687a21b243e752624006fb8f26e"
64176413
dependencies = [
64186414
"serde",
64196415
"stable_deref_trait",
@@ -6423,9 +6419,9 @@ dependencies = [
64236419

64246420
[[package]]
64256421
name = "yoke-derive"
6426-
version = "0.6.1"
6422+
version = "0.7.0"
64276423
source = "registry+https://github.com/rust-lang/crates.io-index"
6428-
checksum = "1346e4cd025ae818b88566eac7eb65ab33a994ea55f355c86889af2e7e56b14e"
6424+
checksum = "ca800d73d6b7a7ee54f2608205c98b549fca71c9500c1abcb3abdc7708b4a8cb"
64296425
dependencies = [
64306426
"proc-macro2",
64316427
"quote",
@@ -6462,9 +6458,9 @@ checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f"
64626458

64636459
[[package]]
64646460
name = "zerovec"
6465-
version = "0.9.0"
6461+
version = "0.9.2"
64666462
source = "registry+https://github.com/rust-lang/crates.io-index"
6467-
checksum = "b9d919a74c17749ccb17beaf6405562e413cd94e98ba52ca1e64bbe7eefbd8b8"
6463+
checksum = "154df60c74c4a844bc04a53cef4fc18a909d3ea07e19f5225eaba86209da3aa6"
64686464
dependencies = [
64696465
"yoke",
64706466
"zerofrom",
@@ -6473,9 +6469,9 @@ dependencies = [
64736469

64746470
[[package]]
64756471
name = "zerovec-derive"
6476-
version = "0.9.0"
6472+
version = "0.9.3"
64776473
source = "registry+https://github.com/rust-lang/crates.io-index"
6478-
checksum = "490e5f878c2856225e884c35927e7ea6db3c24cdb7229b72542c7526ad7ed49e"
6474+
checksum = "2154cb6e2a748163354165e22c6a555effb09ca2d16334767bf66bb404f2206e"
64796475
dependencies = [
64806476
"proc-macro2",
64816477
"quote",

compiler/rustc_baked_icu_data/Cargo.toml

+5-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ version = "0.0.0"
44
edition = "2021"
55

66
[dependencies]
7-
icu_list = "1.0.0"
8-
icu_locid = "1.0.0"
9-
icu_provider = "1.0.1"
10-
icu_provider_adapters = "1.0.0"
11-
litemap = "0.6.0"
12-
zerovec = "0.9.0"
7+
icu_list = "1.1.0"
8+
icu_locid = "1.1.0"
9+
icu_provider = "1.1.0"
10+
icu_provider_adapters = "1.1.0"
11+
zerovec = "0.9.2"
1312

1413
[features]
1514
rustc_use_parallel_compiler = ['icu_provider/sync']
+1-41
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,2 @@
11
// @generated
2-
impl AnyProvider for BakedDataProvider {
3-
fn load_any(&self, key: DataKey, req: DataRequest) -> Result<AnyResponse, DataError> {
4-
const ANDLISTV1MARKER: ::icu_provider::DataKeyHash =
5-
::icu_list::provider::AndListV1Marker::KEY.hashed();
6-
const COLLATIONFALLBACKSUPPLEMENTV1MARKER: ::icu_provider::DataKeyHash =
7-
::icu_provider_adapters::fallback::provider::CollationFallbackSupplementV1Marker::KEY
8-
.hashed();
9-
const LOCALEFALLBACKLIKELYSUBTAGSV1MARKER: ::icu_provider::DataKeyHash =
10-
::icu_provider_adapters::fallback::provider::LocaleFallbackLikelySubtagsV1Marker::KEY
11-
.hashed();
12-
const LOCALEFALLBACKPARENTSV1MARKER: ::icu_provider::DataKeyHash =
13-
::icu_provider_adapters::fallback::provider::LocaleFallbackParentsV1Marker::KEY
14-
.hashed();
15-
#[allow(clippy::match_single_binding)]
16-
match key.hashed() {
17-
ANDLISTV1MARKER => list::and_v1::DATA
18-
.get_by(|k| req.locale.strict_cmp(k.as_bytes()).reverse())
19-
.copied()
20-
.map(AnyPayload::from_static_ref)
21-
.ok_or(DataErrorKind::MissingLocale),
22-
COLLATIONFALLBACKSUPPLEMENTV1MARKER => fallback::supplement::co_v1::DATA
23-
.get_by(|k| req.locale.strict_cmp(k.as_bytes()).reverse())
24-
.copied()
25-
.map(AnyPayload::from_static_ref)
26-
.ok_or(DataErrorKind::MissingLocale),
27-
LOCALEFALLBACKLIKELYSUBTAGSV1MARKER => fallback::likelysubtags_v1::DATA
28-
.get_by(|k| req.locale.strict_cmp(k.as_bytes()).reverse())
29-
.copied()
30-
.map(AnyPayload::from_static_ref)
31-
.ok_or(DataErrorKind::MissingLocale),
32-
LOCALEFALLBACKPARENTSV1MARKER => fallback::parents_v1::DATA
33-
.get_by(|k| req.locale.strict_cmp(k.as_bytes()).reverse())
34-
.copied()
35-
.map(AnyPayload::from_static_ref)
36-
.ok_or(DataErrorKind::MissingLocale),
37-
_ => Err(DataErrorKind::MissingDataKey),
38-
}
39-
.map_err(|e| e.with_req(key, req))
40-
.map(|payload| AnyResponse { payload: Some(payload), metadata: Default::default() })
41-
}
42-
}
2+
impl_any_provider!(BakedDataProvider);

0 commit comments

Comments
 (0)