Commit a5460e5
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
None2 files changed
+3
-3
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments