Skip to content

Commit 1c84675

Browse files
committed
Auto merge of #124368 - RalfJung:miri, r=RalfJung
Miri subtree update r? `@ghost`
2 parents 31e6e8c + 9f7194b commit 1c84675

Some content is hidden

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

46 files changed

+3265
-516
lines changed

Cargo.lock

+4-2
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
491491

492492
[[package]]
493493
name = "chrono"
494-
version = "0.4.37"
494+
version = "0.4.38"
495495
source = "registry+https://github.com/rust-lang/crates.io-index"
496-
checksum = "8a0d04d43504c61aa6c7531f1871dd0d418d91130162063b789da00fd7057a5e"
496+
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
497497
dependencies = [
498498
"android-tzdata",
499499
"iana-time-zone",
@@ -2493,8 +2493,10 @@ name = "miri"
24932493
version = "0.1.0"
24942494
dependencies = [
24952495
"aes",
2496+
"chrono",
24962497
"colored",
24972498
"ctrlc",
2499+
"directories",
24982500
"getrandom",
24992501
"jemalloc-sys",
25002502
"lazy_static",

src/tools/miri/.github/workflows/ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
env:
3333
HOST_TARGET: ${{ matrix.host_target }}
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636

3737
- name: Show Rust version (stable toolchain)
3838
run: |
@@ -57,12 +57,12 @@ jobs:
5757
~/.cargo/bin
5858
~/.cargo/.crates.toml
5959
~/.cargo/.crates2.json
60-
key: cargo-${{ runner.os }}-reset20240331-${{ hashFiles('**/Cargo.lock') }}
61-
restore-keys: cargo-${{ runner.os }}-reset20240331
60+
key: cargo-${{ runner.os }}-reset20240425-${{ hashFiles('**/Cargo.lock') }}
61+
restore-keys: cargo-${{ runner.os }}-reset20240425
6262

63-
- name: Install rustup-toolchain-install-master
63+
- name: Install tools
6464
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
65-
run: cargo install -f rustup-toolchain-install-master
65+
run: cargo install -f rustup-toolchain-install-master hyperfine
6666

6767
- name: Install miri toolchain
6868
run: |
@@ -85,7 +85,7 @@ jobs:
8585
name: style checks
8686
runs-on: ubuntu-latest
8787
steps:
88-
- uses: actions/checkout@v3
88+
- uses: actions/checkout@v4
8989

9090
# This is exactly duplicated from above. GHA is pretty terrible when it comes
9191
# to avoiding code duplication.
@@ -165,7 +165,7 @@ jobs:
165165
name: cronjob failure notification
166166
runs-on: ubuntu-latest
167167
needs: [build, style]
168-
if: github.event_name == 'schedule' && (failure() || cancelled())
168+
if: github.event_name == 'schedule' && failure()
169169
steps:
170170
# Send a Zulip notification
171171
- name: Install zulip-send
@@ -191,7 +191,7 @@ jobs:
191191
The Miri Cronjobs Bot'
192192
193193
# Attempt to auto-sync with rustc
194-
- uses: actions/checkout@v3
194+
- uses: actions/checkout@v4
195195
with:
196196
fetch-depth: 256 # get a bit more of the history
197197
- name: install josh-proxy

src/tools/miri/Cargo.lock

+193
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,21 @@ dependencies = [
3737
"memchr",
3838
]
3939

40+
[[package]]
41+
name = "android-tzdata"
42+
version = "0.1.1"
43+
source = "registry+https://github.com/rust-lang/crates.io-index"
44+
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
45+
46+
[[package]]
47+
name = "android_system_properties"
48+
version = "0.1.5"
49+
source = "registry+https://github.com/rust-lang/crates.io-index"
50+
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
51+
dependencies = [
52+
"libc",
53+
]
54+
4055
[[package]]
4156
name = "annotate-snippets"
4257
version = "0.9.2"
@@ -106,6 +121,12 @@ dependencies = [
106121
"serde",
107122
]
108123

124+
[[package]]
125+
name = "bumpalo"
126+
version = "3.16.0"
127+
source = "registry+https://github.com/rust-lang/crates.io-index"
128+
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
129+
109130
[[package]]
110131
name = "camino"
111132
version = "1.1.6"
@@ -150,6 +171,18 @@ version = "1.0.0"
150171
source = "registry+https://github.com/rust-lang/crates.io-index"
151172
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
152173

174+
[[package]]
175+
name = "chrono"
176+
version = "0.4.38"
177+
source = "registry+https://github.com/rust-lang/crates.io-index"
178+
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
179+
dependencies = [
180+
"android-tzdata",
181+
"iana-time-zone",
182+
"num-traits",
183+
"windows-targets 0.52.3",
184+
]
185+
153186
[[package]]
154187
name = "cipher"
155188
version = "0.4.4"
@@ -216,6 +249,12 @@ dependencies = [
216249
"windows-sys 0.52.0",
217250
]
218251

252+
[[package]]
253+
name = "core-foundation-sys"
254+
version = "0.8.6"
255+
source = "registry+https://github.com/rust-lang/crates.io-index"
256+
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
257+
219258
[[package]]
220259
name = "cpufeatures"
221260
version = "0.2.12"
@@ -260,6 +299,27 @@ dependencies = [
260299
"windows-sys 0.52.0",
261300
]
262301

302+
[[package]]
303+
name = "directories"
304+
version = "5.0.1"
305+
source = "registry+https://github.com/rust-lang/crates.io-index"
306+
checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35"
307+
dependencies = [
308+
"dirs-sys",
309+
]
310+
311+
[[package]]
312+
name = "dirs-sys"
313+
version = "0.4.1"
314+
source = "registry+https://github.com/rust-lang/crates.io-index"
315+
checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
316+
dependencies = [
317+
"libc",
318+
"option-ext",
319+
"redox_users",
320+
"windows-sys 0.48.0",
321+
]
322+
263323
[[package]]
264324
name = "encode_unicode"
265325
version = "0.3.6"
@@ -319,6 +379,29 @@ version = "0.28.1"
319379
source = "registry+https://github.com/rust-lang/crates.io-index"
320380
checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
321381

382+
[[package]]
383+
name = "iana-time-zone"
384+
version = "0.1.60"
385+
source = "registry+https://github.com/rust-lang/crates.io-index"
386+
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
387+
dependencies = [
388+
"android_system_properties",
389+
"core-foundation-sys",
390+
"iana-time-zone-haiku",
391+
"js-sys",
392+
"wasm-bindgen",
393+
"windows-core",
394+
]
395+
396+
[[package]]
397+
name = "iana-time-zone-haiku"
398+
version = "0.1.2"
399+
source = "registry+https://github.com/rust-lang/crates.io-index"
400+
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
401+
dependencies = [
402+
"cc",
403+
]
404+
322405
[[package]]
323406
name = "indenter"
324407
version = "0.3.3"
@@ -372,6 +455,15 @@ dependencies = [
372455
"libc",
373456
]
374457

458+
[[package]]
459+
name = "js-sys"
460+
version = "0.3.69"
461+
source = "registry+https://github.com/rust-lang/crates.io-index"
462+
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
463+
dependencies = [
464+
"wasm-bindgen",
465+
]
466+
375467
[[package]]
376468
name = "lazy_static"
377469
version = "1.4.0"
@@ -419,6 +511,16 @@ dependencies = [
419511
"windows-sys 0.48.0",
420512
]
421513

514+
[[package]]
515+
name = "libredox"
516+
version = "0.1.3"
517+
source = "registry+https://github.com/rust-lang/crates.io-index"
518+
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
519+
dependencies = [
520+
"bitflags 2.4.2",
521+
"libc",
522+
]
523+
422524
[[package]]
423525
name = "linux-raw-sys"
424526
version = "0.4.13"
@@ -484,8 +586,10 @@ name = "miri"
484586
version = "0.1.0"
485587
dependencies = [
486588
"aes",
589+
"chrono",
487590
"colored",
488591
"ctrlc",
592+
"directories",
489593
"getrandom",
490594
"jemalloc-sys",
491595
"lazy_static",
@@ -512,6 +616,15 @@ dependencies = [
512616
"libc",
513617
]
514618

619+
[[package]]
620+
name = "num-traits"
621+
version = "0.2.18"
622+
source = "registry+https://github.com/rust-lang/crates.io-index"
623+
checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
624+
dependencies = [
625+
"autocfg",
626+
]
627+
515628
[[package]]
516629
name = "number_prefix"
517630
version = "0.4.0"
@@ -533,6 +646,12 @@ version = "1.19.0"
533646
source = "registry+https://github.com/rust-lang/crates.io-index"
534647
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
535648

649+
[[package]]
650+
name = "option-ext"
651+
version = "0.2.0"
652+
source = "registry+https://github.com/rust-lang/crates.io-index"
653+
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
654+
536655
[[package]]
537656
name = "owo-colors"
538657
version = "3.5.0"
@@ -665,6 +784,17 @@ dependencies = [
665784
"bitflags 1.3.2",
666785
]
667786

787+
[[package]]
788+
name = "redox_users"
789+
version = "0.4.5"
790+
source = "registry+https://github.com/rust-lang/crates.io-index"
791+
checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891"
792+
dependencies = [
793+
"getrandom",
794+
"libredox",
795+
"thiserror",
796+
]
797+
668798
[[package]]
669799
name = "regex"
670800
version = "1.10.3"
@@ -964,6 +1094,60 @@ version = "0.11.0+wasi-snapshot-preview1"
9641094
source = "registry+https://github.com/rust-lang/crates.io-index"
9651095
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
9661096

1097+
[[package]]
1098+
name = "wasm-bindgen"
1099+
version = "0.2.92"
1100+
source = "registry+https://github.com/rust-lang/crates.io-index"
1101+
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
1102+
dependencies = [
1103+
"cfg-if",
1104+
"wasm-bindgen-macro",
1105+
]
1106+
1107+
[[package]]
1108+
name = "wasm-bindgen-backend"
1109+
version = "0.2.92"
1110+
source = "registry+https://github.com/rust-lang/crates.io-index"
1111+
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
1112+
dependencies = [
1113+
"bumpalo",
1114+
"log",
1115+
"once_cell",
1116+
"proc-macro2",
1117+
"quote",
1118+
"syn",
1119+
"wasm-bindgen-shared",
1120+
]
1121+
1122+
[[package]]
1123+
name = "wasm-bindgen-macro"
1124+
version = "0.2.92"
1125+
source = "registry+https://github.com/rust-lang/crates.io-index"
1126+
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
1127+
dependencies = [
1128+
"quote",
1129+
"wasm-bindgen-macro-support",
1130+
]
1131+
1132+
[[package]]
1133+
name = "wasm-bindgen-macro-support"
1134+
version = "0.2.92"
1135+
source = "registry+https://github.com/rust-lang/crates.io-index"
1136+
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
1137+
dependencies = [
1138+
"proc-macro2",
1139+
"quote",
1140+
"syn",
1141+
"wasm-bindgen-backend",
1142+
"wasm-bindgen-shared",
1143+
]
1144+
1145+
[[package]]
1146+
name = "wasm-bindgen-shared"
1147+
version = "0.2.92"
1148+
source = "registry+https://github.com/rust-lang/crates.io-index"
1149+
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
1150+
9671151
[[package]]
9681152
name = "winapi"
9691153
version = "0.3.9"
@@ -986,6 +1170,15 @@ version = "0.4.0"
9861170
source = "registry+https://github.com/rust-lang/crates.io-index"
9871171
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
9881172

1173+
[[package]]
1174+
name = "windows-core"
1175+
version = "0.52.0"
1176+
source = "registry+https://github.com/rust-lang/crates.io-index"
1177+
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
1178+
dependencies = [
1179+
"windows-targets 0.52.3",
1180+
]
1181+
9891182
[[package]]
9901183
name = "windows-sys"
9911184
version = "0.48.0"

src/tools/miri/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ smallvec = "1.7"
2424
aes = { version = "0.8.3", features = ["hazmat"] }
2525
measureme = "11"
2626
ctrlc = "3.2.5"
27+
chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
28+
directories = "5"
2729

2830
# Copied from `compiler/rustc/Cargo.toml`.
2931
# But only for some targets, it fails for others. Rustc configures this in its CI, but we can't

0 commit comments

Comments
 (0)