Commit ec772b7
committed
fix compilation with new new nightly VaList
In 2025-12-05, a Rust pull request at
rust-lang/rust#141980
reworked the `VaList` implementation to be abi-compatible with C. This
broke:
* the `printf-compat` implementation, which is fixed in version 0.3
* some `fcntl` functions, because they called `as_va_list`, and that
function no longer exists
Here, we fix both of those problems and update the compiler version in
`rust-toolchain.toml` to be the oldest compiler that will already have
this new implementation.1 parent a2f804a commit ec772b7
3 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
| 21 | + | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
0 commit comments