Skip to content

Commit 791d71f

Browse files
committed
DO NOT MERGE: temporarily use libc from git tag for CI testing
This commit patches the libc dependency to use the git tag ctest-v0.5.0 which contains the QuRT support changes needed for hexagon-unknown-qurt. This is a temporary commit for CI testing purposes only and should be removed before merging the PR.
1 parent 3201966 commit 791d71f

2 files changed

Lines changed: 19 additions & 9 deletions

File tree

library/Cargo.lock

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
8383
checksum = "06cdfe340b16dd990c54cce79743613fa09fbb16774f33a77c9fd196f8f3fa30"
8484
dependencies = [
8585
"cfg-if",
86-
"libc",
86+
"libc 0.2.180",
8787
"rustc-std-workspace-core",
8888
"windows-sys",
8989
]
@@ -146,9 +146,17 @@ dependencies = [
146146

147147
[[package]]
148148
name = "libc"
149-
version = "0.2.178"
149+
version = "0.2.180"
150150
source = "registry+https://github.com/rust-lang/crates.io-index"
151-
checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
151+
checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
152+
dependencies = [
153+
"rustc-std-workspace-core",
154+
]
155+
156+
[[package]]
157+
name = "libc"
158+
version = "1.0.0-alpha.2"
159+
source = "git+https://github.com/rust-lang/libc?tag=ctest-v0.5.0#e4db084fe027925174bb776877e96afdf31da4b2"
152160
dependencies = [
153161
"rustc-std-workspace-core",
154162
]
@@ -199,7 +207,7 @@ name = "panic_abort"
199207
version = "0.0.0"
200208
dependencies = [
201209
"alloc",
202-
"libc",
210+
"libc 0.2.180",
203211
"rustc-std-workspace-core",
204212
]
205213

@@ -208,7 +216,7 @@ name = "panic_unwind"
208216
version = "0.0.0"
209217
dependencies = [
210218
"alloc",
211-
"libc",
219+
"libc 0.2.180",
212220
"rustc-std-workspace-core",
213221
"unwind",
214222
]
@@ -330,7 +338,7 @@ dependencies = [
330338
"fortanix-sgx-abi",
331339
"hashbrown",
332340
"hermit-abi",
333-
"libc",
341+
"libc 1.0.0-alpha.2",
334342
"miniz_oxide",
335343
"moto-rt",
336344
"object",
@@ -353,7 +361,7 @@ dependencies = [
353361
name = "std_detect"
354362
version = "0.1.5"
355363
dependencies = [
356-
"libc",
364+
"libc 0.2.180",
357365
"rustc-std-workspace-alloc",
358366
"rustc-std-workspace-core",
359367
]
@@ -374,15 +382,15 @@ version = "0.0.0"
374382
dependencies = [
375383
"core",
376384
"getopts",
377-
"libc",
385+
"libc 0.2.180",
378386
"std",
379387
]
380388

381389
[[package]]
382390
name = "unwind"
383391
version = "0.0.0"
384392
dependencies = [
385-
"libc",
393+
"libc 0.2.180",
386394
"rustc-std-workspace-core",
387395
"unwinding",
388396
]

library/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,5 @@ rustflags = [
8585
rustc-std-workspace-core = { path = 'rustc-std-workspace-core' }
8686
rustc-std-workspace-alloc = { path = 'rustc-std-workspace-alloc' }
8787
rustc-std-workspace-std = { path = 'rustc-std-workspace-std' }
88+
# Temporary: use libc from git tag with QuRT support (for CI testing, not for merge)
89+
libc = { git = "https://github.com/rust-lang/libc", tag = "ctest-v0.5.0" }

0 commit comments

Comments
 (0)