* fix: cast ExitStatus to correct type, remove Boxes Absolutely no clue why Past Me thought `usize` was the correct type to convert `ExitStatus` from. Rust docs make it really clear it is a `c_int` (i32) on Unix. Past Me also decided both leaking memory with `Box::into_raw` then unsoundly calling `Box::from_raw` on a pointer to a stack-allocated array was smart. Dunno why. Loser did not even leave a safety comment smh. * fix: use `mem::size_of` to get size of `i32` |
||
|---|---|---|
| .. | ||
| integration.rs | ||