Khyber Sen
Khyber Sen
This * updates our version to `0.19.0` * fixes `clippy` warnings * fixes warnings on `stable` (`1.80.1`), including setting `resolver = "2"` * sets `rust-version = "1.65"`, our pinned nightly...
`#![feature(label_break_value)]` has now been stabilized in 1.65 (see https://github.com/rust-lang/rust/pull/99332, https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html#break-from-labeled-blocks).
This incrementally updates our `rustc` version to `nightly-2022-12-06` from `nightly-2022-08-08`. I stopped there as the next nightly causes a panic in `c2rust-analyze` whose fix will probably be a bit more...
`#![feature(strict_provenance)]` should be stabilized soon (https://github.com/rust-lang/rust/pull/130350), and there are places where we can handle things better than provenance exposing `as` casts. One such place is https://github.com/immunant/c2rust/pull/1134#pullrequestreview-2320843839, where a `bool` to...
Right now, `c2rust-transpile` and its dependencies can all build on `stable`, while `c2rust-analyze` and its dependencies all require a pinned `nightly-2022-08-08`. However, only one `rust-toolchain.toml` is allowed per directory (and...
If `$RUSTC_WRAPPER` is set, `rustc` invocations will be add an extra `"rustc"` arg, which trips up the arg parsing code with an unexpected arg.
`NULL` for function pointers is transpiled to UB. ```c typedef handler_t (*fdevent_handler)(void *ctx, int revents); void fdevent_sched_close (fdevents *ev, int fd, int issock) { fdnode *fdn = ev->fdarray[fd]; if ((uintptr_t)fdn...
So I previously thought that Hayroll can handle cross-OS transpilation, just not cross-arch transpilation, but that turned out to be more of a fluke. Hayroll can only substantively handle cross-target...
In trying to run CI on arm64 macOS (#1280, [CI](https://github.com/immunant/c2rust/actions/runs/16262809558/job/45911744827)), the varargs implementation isn't working correctly. So this is a prerequisite to fixing #1279. Errors from CI ``` pointers: [...