Skip to content

Commit 185a531

Browse files
committed
libc
1 parent 0d1b28a commit 185a531

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Cargo.lock

+4-1
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,9 @@ dependencies = [
17181718
name = "libc"
17191719
version = "0.2.79"
17201720
source = "git+https://github.com/lzutao/rust-libc?branch=i78184#b58a839d02b8d0dcc6a5a78cfd88f67a8af19808"
1721+
dependencies = [
1722+
"rustc-std-workspace-core",
1723+
]
17211724

17221725
[[package]]
17231726
name = "libgit2-sys"
@@ -4632,7 +4635,7 @@ dependencies = [
46324635
"fortanix-sgx-abi",
46334636
"hashbrown",
46344637
"hermit-abi",
4635-
"libc 0.2.79 (registry+https://github.com/rust-lang/crates.io-index)",
4638+
"libc 0.2.79 (git+https://github.com/lzutao/rust-libc?branch=i78184)",
46364639
"miniz_oxide",
46374640
"object 0.20.0",
46384641
"panic_abort",

library/std/Cargo.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] }
1616
panic_unwind = { path = "../panic_unwind", optional = true }
1717
panic_abort = { path = "../panic_abort" }
1818
core = { path = "../core" }
19-
libc = { version = "0.2.79", default-features = false, features = ['rustc-dep-of-std'] }
2019
compiler_builtins = { version = "0.1.35" }
2120
profiler_builtins = { path = "../profiler_builtins", optional = true }
2221
unwind = { path = "../unwind" }
@@ -31,6 +30,12 @@ version = "0.20"
3130
optional = true
3231
default-features = false
3332
features = ['read_core', 'elf', 'macho', 'pe']
33+
[dependencies.libc]
34+
version = "0.2"
35+
default-features = false
36+
features = ['rustc-dep-of-std']
37+
git = "https://github.com/lzutao/rust-libc"
38+
branch = "i78184"
3439

3540
[dev-dependencies]
3641
rand = "0.7"

0 commit comments

Comments
 (0)