Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync rustc_codegen_cranelift #99720

Merged
merged 96 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
d9025ce
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_…
bjorn3 May 15, 2022
715533e
Merge branch 'sync_from_rust'
bjorn3 May 15, 2022
01ab51b
Rustup to rustc 1.63.0-nightly (c52b9c10b 2022-05-16)
bjorn3 May 17, 2022
7a10059
Fix symbol tables in case of multiple object files with the same name
bjorn3 May 18, 2022
6c9a06e
Update Cranelift and object
bjorn3 May 20, 2022
814ed4f
Rustup to rustc 1.63.0-nightly (c06728704 2022-05-19)
bjorn3 May 20, 2022
e97e40d
Update rust-analyzer configuration
bjorn3 May 22, 2022
5011ae4
Refactor call terminator to always hold a destination place
JakobDegen Apr 16, 2022
d27ec6c
Add flag for stricter checks on uninit/zeroed
5225225 May 23, 2022
e2f90f7
Add support for emitting functions with `coldcc` in LLVM
scottmcm May 29, 2022
4ee48c0
Use CallConv::Cold in cranelift for extern "rust-cold"
scottmcm May 29, 2022
e600875
Add a pointer to address cast kind
tmiasko May 31, 2022
722c724
rename PointerAddress → PointerExposeAddress
RalfJung Jun 1, 2022
ede985e
add cast kind of from_exposed_addr (int-to-ptr casts)
RalfJung Jun 2, 2022
d628444
Remove workaround for bytecodealliance/wasmtime#3963
bjorn3 Jun 2, 2022
7a8b96f
Make `std::mem::needs_drop` accept `?Sized`
nvzqz Jun 3, 2022
eb5f237
Fix unsized field order
nvzqz Jun 3, 2022
d5cb2be
Rename CodegenUnit::work_product to previous_work_product
bjorn3 May 13, 2022
5a1a111
Avoid an unnecessary clone for copy_cgu_workproduct_to_incr_comp_cach…
bjorn3 May 13, 2022
bbb8509
Factor Option out of copy_cgu_workproduct_to_incr_comp_cache_dir call
bjorn3 May 13, 2022
3d8e854
Make saved_file field of WorkProduct non-optional
bjorn3 May 15, 2022
d8bd0a9
Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr
bors Jun 7, 2022
b867d41
Auto merge of #97825 - Dylan-DPC:rollup-ya51k1k, r=Dylan-DPC
bors Jun 7, 2022
74f3916
Sync from rust be16c6166f08f9b26d854783bbd4ce8d006c8f6f
bjorn3 Jun 9, 2022
875ffa1
Rustup to rustc 1.63.0-nightly (7466d5492 2022-06-08)
bjorn3 Jun 9, 2022
a298c69
Mark extern rust-cold calls as cold
bjorn3 Jun 9, 2022
ec841f5
Fix running rustc tests
bjorn3 Jun 9, 2022
ce2b3a9
Rename the `ConstS::val` field as `kind`.
nnethercote Jun 10, 2022
c431540
Rustup to rustc 1.63.0-nightly (ca122c7eb 2022-06-13)
bjorn3 Jun 14, 2022
9096b3e
implement valtrees as the type-system representation for constant values
b-naber Feb 16, 2022
fc0c753
Remove src_files and remove_file
bjorn3 Jun 14, 2022
6d8c450
Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`
WaffleLapkin Jun 16, 2022
449b309
Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
JohnTitor Jun 16, 2022
5543d22
Rollup merge of #98165 - WaffleLapkin:once_things_renamings, r=m-ou-se
matthiaskrgr Jun 18, 2022
abb9b60
Fix "Remove src_files and remove_file"
bjorn3 Jun 18, 2022
73b3ae0
Remove the source archive functionality of ArchiveWriter
bjorn3 Jun 14, 2022
92749f0
Auto merge of #98098 - bjorn3:archive_refactor, r=michaelwoerister
bors Jun 21, 2022
473e80e
Sync from rust 10f4ce324baf7cfb7ce2b2096662b82b79204944
bjorn3 Jun 23, 2022
c58a11e
Rustup to rustc 1.63.0-nightly (10f4ce324 2022-06-22)
bjorn3 Jun 23, 2022
6d5e8f3
Adopt for "Remove dereferencing of Box from codegen"
bjorn3 Jun 23, 2022
7c5fbac
Update Cranelift to 0.85.0
bjorn3 Jun 23, 2022
439c323
Disable DWARF debuginfo on Windows
bjorn3 Aug 16, 2021
8a4557e
Update for changes to the rustc test suite
bjorn3 Jun 23, 2022
f516ba2
Update `smallvec` to 1.8.1.
nnethercote Jun 26, 2022
f060ae9
Update to Cranelift 0.85.1
bjorn3 Jun 28, 2022
56c5c09
Run regalloc checker on CI
bjorn3 Jun 28, 2022
c1ac2df
Allow building the sysroot with --emit llvm-ir
bjorn3 Jun 28, 2022
45b6cd6
Fix a crash for 11 single byte fields passed through the C abi
bjorn3 Jun 28, 2022
846eecb
Change enum->int casts to not go through MIR casts.
oli-obk Jun 29, 2022
a71e691
Recover when failing to normalize closure signature.
cjgillot Feb 4, 2022
14b2f8f
Add code to print clif ir on panics during define_function
bjorn3 Jul 2, 2022
b344691
Sync from rust f99f9e48ed77a99747c6d07b42fdfe500f1a7de0
bjorn3 Jul 3, 2022
8720683
Rustup to rustc 1.64.0-nightly (f2d93935f 2022-07-02)
bjorn3 Jul 3, 2022
b8aab37
Update for changes to the rustc test suite
bjorn3 Jul 3, 2022
96bdb39
Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung
bors Jul 5, 2022
44c2558
Update TypeVisitor paths
eggyal Jun 17, 2022
69d0c1e
incr: cache dwarf objects in work products
davidtwco Jul 4, 2022
c413617
Update integer_atomics tracking issue
tamird Jul 8, 2022
e151a09
Rollup merge of #99070 - tamird:update-tracking-issue, r=RalfJung
Dylan-DPC Jul 9, 2022
e9442b6
fix cranelift and gcc backends
RalfJung Jul 5, 2022
f44d5fe
review feedback
RalfJung Jul 5, 2022
c78b438
tweak names and output and bless
RalfJung Jul 6, 2022
743cee6
Partially stabilize const_slice_from_raw_parts
KamilaBorowska May 29, 2022
a7347a9
Keep unstable target features for asm feature checking
Amanieu Jul 11, 2022
9efccc9
add new rval, pull deref early
ouz-a Jun 13, 2022
38c321a
Rollup merge of #99155 - Amanieu:unstable-target-features, r=davidtwco
Dylan-DPC Jul 13, 2022
4338881
Auto merge of #99210 - Dylan-DPC:rollup-879cp1t, r=Dylan-DPC
bors Jul 13, 2022
b2ae24e
Rename `debugging_opts` to `unstable_opts`
jyn514 Jul 6, 2022
5a81bf7
Use constant eval to do strict validity checks
5225225 Jul 14, 2022
9ea9c09
Introduce opaque type to hidden type projection
oli-obk Jun 22, 2022
f750d8b
Upgrade indexmap and thorin-dwp to use hashbrown 0.12
cuviper Jul 14, 2022
ec46952
Upgrade hashbrown to 0.12.3
Amanieu Jul 17, 2022
33b297a
Auto merge of #99033 - 5225225:interpreter-validity-checks, r=oli-obk
bors Jul 17, 2022
cff5eed
Sync from rust 880416180b0a9ee1141c07d4d17667edb77daebd
bjorn3 Jul 18, 2022
bc061fa
Rustup to rustc 1.64.0-nightly (263edd43c 2022-07-17)
bjorn3 Jul 18, 2022
5fcedf6
Update for changes to the rustc test suite
bjorn3 Jul 18, 2022
22a0a2e
Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r…
oli-obk Jul 20, 2022
1c77e2b
add a Vtable kind of symbolic allocations
RalfJung Jul 17, 2022
b5cce74
rename get_global_alloc to try_get_global_alloc
RalfJung Jul 17, 2022
a1b1722
consistently use VTable over Vtable (matching stable stdlib API RawWa…
RalfJung Jul 19, 2022
6c9abfa
slightly cleaner, if more verbose, vtable handling in codegen backends
RalfJung Jul 20, 2022
f8feed7
Implement vtable_size and vtable_align intrinsics for cg_clif
bjorn3 Jul 20, 2022
d07ed02
various nits from review
RalfJung Jul 20, 2022
cd96988
Don't crash when local variables are too big to store on the stack
bjorn3 Jul 22, 2022
a6b602d
Fix inline asm codegen for empty template
bjorn3 Jul 22, 2022
3207c9f
Report an error on incompatible symbol definitions
bjorn3 Jul 22, 2022
745193d
Auto merge of #99251 - cuviper:hashbrown-0.12, r=Mark-Simulacrum
bors Jul 24, 2022
39ee14d
Error when trying to define variadic functions
bjorn3 Jul 25, 2022
7ef2ba8
Fix size_of_val and min_align_of_val for truly unsized types
bjorn3 Jul 25, 2022
fd2669d
Fix -Zpolymorphize
bjorn3 Jul 25, 2022
722733c
Merge pull request #1247 from bjorn3/melt_some_ice
bjorn3 Jul 25, 2022
d7fc563
Update Cranelift to 0.85.3
bjorn3 Jul 25, 2022
4e1155f
Sync from rust 2f320a224e827b400be25966755a621779f797cc
bjorn3 Jul 25, 2022
c19edfd
Rustup to rustc 1.64.0-nightly (7fe022f5a 2022-07-24)
bjorn3 Jul 25, 2022
7a3ed23
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_…
bjorn3 Jul 25, 2022
9dc4ed8
Update list of allowed dependencies
bjorn3 Jul 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions compiler/rustc_codegen_cranelift/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
// source for rustc_* is not included in the rust-src component; disable the errors about this
"rust-analyzer.diagnostics.disabled": ["unresolved-extern-crate", "unresolved-macro-call"],
"rust-analyzer.assist.importGranularity": "module",
"rust-analyzer.assist.importEnforceGranularity": true,
"rust-analyzer.assist.importPrefix": "crate",
"rust-analyzer.cargo.runBuildScripts": true,
"rust-analyzer.imports.granularity.enforce": true,
"rust-analyzer.imports.granularity.group": "module",
"rust-analyzer.imports.prefix": "crate",
"rust-analyzer.cargo.features": ["unstable-features"],
"rust-analyzer.linkedProjects": [
"./Cargo.toml",
Expand Down
139 changes: 103 additions & 36 deletions compiler/rustc_codegen_cranelift/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
# It is not intended for manual editing.
version = 3

[[package]]
name = "ahash"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
dependencies = [
"getrandom",
"once_cell",
"version_check",
]

[[package]]
name = "anyhow"
version = "1.0.56"
Expand All @@ -25,6 +36,12 @@ version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"

[[package]]
name = "byteorder"
version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"

[[package]]
name = "cfg-if"
version = "1.0.0"
Expand All @@ -33,68 +50,75 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"

[[package]]
name = "cranelift-bforest"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed44413e7e2fe3260d0ed73e6956ab188b69c10ee92b892e401e0f4f6808c68b"
checksum = "749d0d6022c9038dccf480bdde2a38d435937335bf2bb0f14e815d94517cdce8"
dependencies = [
"cranelift-entity",
]

[[package]]
name = "cranelift-codegen"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b5d83f0f26bf213f971f45589d17e5b65e4861f9ed22392b0cbb6eaa5bd329c"
checksum = "e94370cc7b37bf652ccd8bb8f09bd900997f7ccf97520edfc75554bb5c4abbea"
dependencies = [
"cranelift-bforest",
"cranelift-codegen-meta",
"cranelift-codegen-shared",
"cranelift-entity",
"cranelift-isle",
"gimli",
"log",
"regalloc",
"regalloc2",
"smallvec",
"target-lexicon",
]

[[package]]
name = "cranelift-codegen-meta"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6800dc386177df6ecc5a32680607ed8ba1fa0d31a2a59c8c61fbf44826b8191d"
checksum = "e0a3cea8fdab90e44018c5b9a1dfd460d8ee265ac354337150222a354628bdb6"
dependencies = [
"cranelift-codegen-shared",
]

[[package]]
name = "cranelift-codegen-shared"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c961f85070985ebc8fcdb81b838a5cf842294d1e6ed4852446161c7e246fd455"
checksum = "5ac72f76f2698598951ab26d8c96eaa854810e693e7dd52523958b5909fde6b2"

[[package]]
name = "cranelift-entity"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2347b2b8d1d5429213668f2a8e36c85ee3c73984a2f6a79007e365d3e575e7ed"
checksum = "09eaeacfcd2356fe0e66b295e8f9d59fdd1ac3ace53ba50de14d628ec902f72d"

[[package]]
name = "cranelift-frontend"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4cbcdbf7bed29e363568b778649b69dabc3d727256d5d25236096ef693757654"
checksum = "dba69c9980d5ffd62c18a2bde927855fcd7c8dc92f29feaf8636052662cbd99c"
dependencies = [
"cranelift-codegen",
"log",
"smallvec",
"target-lexicon",
]

[[package]]
name = "cranelift-isle"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2920dc1e05cac40304456ed3301fde2c09bd6a9b0210bcfa2f101398d628d5b"

[[package]]
name = "cranelift-jit"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c769d4e0d76f59c8b2a3bf0477d89ee149bb0731b53fbb245ee081d49063095"
checksum = "1c3c5ed067f2c81577e431f3039148a9c187b33cc79e0d1731fede27d801ec56"
dependencies = [
"anyhow",
"cranelift-codegen",
Expand All @@ -110,19 +134,19 @@ dependencies = [

[[package]]
name = "cranelift-module"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ab57d399a2401074bb0cc40b3031e420f3d66d46ec0cf21eeae53ac04bd73e2"
checksum = "eee6784303bf9af235237a4885f7417e09a35df896d38ea969a0081064b3ede4"
dependencies = [
"anyhow",
"cranelift-codegen",
]

[[package]]
name = "cranelift-native"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f4cdf93552e5ceb2e3c042829ebb4de4378492705f769eadc6a7c6c5251624c"
checksum = "f04dfa45f9b2a6f587c564d6b63388e00cd6589d2df6ea2758cf79e1a13285e6"
dependencies = [
"cranelift-codegen",
"libc",
Expand All @@ -131,9 +155,9 @@ dependencies = [

[[package]]
name = "cranelift-object"
version = "0.83.0"
version = "0.85.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf8e65f4839c26e6237fc0744911d79b0a2ac5e76b4e4eebd14db2b8d849fd31"
checksum = "0bf38b2c505db749276793116c0cb30bd096206c7810e471677a453134881881"
dependencies = [
"anyhow",
"cranelift-codegen",
Expand All @@ -152,6 +176,26 @@ dependencies = [
"cfg-if",
]

[[package]]
name = "fxhash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
dependencies = [
"byteorder",
]

[[package]]
name = "getrandom"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad"
dependencies = [
"cfg-if",
"libc",
"wasi",
]

[[package]]
name = "gimli"
version = "0.26.1"
Expand All @@ -161,6 +205,15 @@ dependencies = [
"indexmap",
]

[[package]]
name = "hashbrown"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
dependencies = [
"ahash",
]

[[package]]
name = "hashbrown"
version = "0.12.3"
Expand All @@ -174,14 +227,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
dependencies = [
"autocfg",
"hashbrown",
"hashbrown 0.12.3",
]

[[package]]
name = "libc"
version = "0.2.119"
version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"

[[package]]
name = "libloading"
Expand Down Expand Up @@ -219,11 +272,12 @@ checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"

[[package]]
name = "object"
version = "0.27.1"
version = "0.28.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9"
checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
dependencies = [
"crc32fast",
"hashbrown 0.11.2",
"indexmap",
"memchr",
]
Expand All @@ -235,13 +289,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9"

[[package]]
name = "regalloc"
version = "0.0.34"
name = "regalloc2"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02"
checksum = "4a8d23b35d7177df3b9d31ed8a9ab4bf625c668be77a319d4f5efd4a5257701c"
dependencies = [
"fxhash",
"log",
"rustc-hash",
"slice-group-by",
"smallvec",
]

Expand All @@ -257,12 +312,6 @@ dependencies = [
"winapi",
]

[[package]]
name = "rustc-hash"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"

[[package]]
name = "rustc_codegen_cranelift"
version = "0.1.0"
Expand All @@ -283,6 +332,12 @@ dependencies = [
"target-lexicon",
]

[[package]]
name = "slice-group-by"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec"

[[package]]
name = "smallvec"
version = "1.8.1"
Expand All @@ -295,6 +350,18 @@ version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7fa7e55043acb85fca6b3c01485a2eeb6b69c5d21002e273c79e465f43b7ac1"

[[package]]
name = "version_check"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"

[[package]]
name = "wasi"
version = "0.10.2+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"

[[package]]
name = "winapi"
version = "0.3.9"
Expand Down
14 changes: 7 additions & 7 deletions compiler/rustc_codegen_cranelift/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ crate-type = ["dylib"]

[dependencies]
# These have to be in sync with each other
cranelift-codegen = { version = "0.83.0", features = ["unwind", "all-arch"] }
cranelift-frontend = "0.83.0"
cranelift-module = "0.83.0"
cranelift-native = "0.83.0"
cranelift-jit = { version = "0.83.0", optional = true }
cranelift-object = "0.83.0"
cranelift-codegen = { version = "0.85.3", features = ["unwind", "all-arch"] }
cranelift-frontend = "0.85.3"
cranelift-module = "0.85.3"
cranelift-native = "0.85.3"
cranelift-jit = { version = "0.85.3", optional = true }
cranelift-object = "0.85.3"
target-lexicon = "0.12.0"
gimli = { version = "0.26.0", default-features = false, features = ["write"]}
object = { version = "0.27.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
object = { version = "0.28.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }

ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg_clif_ranlib" }
indexmap = "1.9.1"
Expand Down
17 changes: 9 additions & 8 deletions compiler/rustc_codegen_cranelift/build_sysroot/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ dependencies = [

[[package]]
name = "compiler_builtins"
version = "0.1.72"
version = "0.1.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afdbb35d279238cf77f0c9e8d90ad50d6c7bff476ab342baafa29440f0f10bff"
checksum = "c6e3183e88f659a862835db8f4b67dbeed3d93e44dd4927eef78edb1c149d784"
dependencies = [
"rustc-std-workspace-core",
]
Expand Down Expand Up @@ -112,9 +112,9 @@ dependencies = [

[[package]]
name = "hashbrown"
version = "0.12.1"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db0d4cf898abf0081f964436dc980e96670a0f36863e4b83aaacdb65c9d7ccc3"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-alloc",
Expand All @@ -123,20 +123,21 @@ dependencies = [

[[package]]
name = "hermit-abi"
version = "0.2.0"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ab7905ea95c6d9af62940f9d7dd9596d54c334ae2c15300c482051292d5637f"
checksum = "7668753748e445859e4e373c3d41117235d9feed578392f5a3a73efdc751ca4a"
dependencies = [
"compiler_builtins",
"libc",
"rustc-std-workspace-alloc",
"rustc-std-workspace-core",
]

[[package]]
name = "libc"
version = "0.2.125"
version = "0.2.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
dependencies = [
"rustc-std-workspace-core",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ fn build_clif_sysroot_for_triple(
{
let entry = entry.unwrap();
if let Some(ext) = entry.path().extension() {
if ext == "rmeta" || ext == "d" || ext == "dSYM" {
if ext == "rmeta" || ext == "d" || ext == "dSYM" || ext == "clif" {
continue;
}
} else {
Expand Down
Loading