Skip to content

Commit a5460e5

Browse files
committed
Auto merge of #12098 - loongarch-rs:bump-libc, r=weihanglo
Update libc to 0.2.144 ### What does this PR try to resolve? cargo cannot build successfully on LoongArch: ``` error[E0425]: cannot find value `FICLONE` in module `c` --> /home/hev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.15/src/backend/libc/io/syscalls.rs:356:16 | 356 | c::FICLONE as _, | ^^^^^^^ not found in `c` ``` This is caused by some constants are missing in libc and [fixed](rust-lang/libc#3237) after `libc 0.2.143` release. libc changelog: https://github.com/rust-lang/libc/releases/tag/0.2.143 ### How should we test and review this PR? ```bash cargo build && cargo test ``` ### Additional information None
2 parents 26b73d1 + 526f5ae commit a5460e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ itertools = "0.10.0"
5050
jobserver = "0.1.26"
5151
lazy_static = "1.3.0"
5252
lazycell = "1.2.0"
53-
libc = "0.2.88"
53+
libc = "0.2.144"
5454
libgit2-sys = "0.15.1"
5555
log = "0.4.17"
5656
memchr = "2.1.3"

0 commit comments

Comments
 (0)