Closed
Description
The layout of struct stat
used to be this in FreeBSD 11, in FreeBSD 12 it's now this. This causes the FreeBSD-specific implementation of std::fs::metadata()
to crash for 1.18 and nightly as of 17/06/15, as it's stack frame get's boiled up.
Can be reproduced via
use std::fs;
fn main() {
println!("{:?}", fs::metadata("Cargo.toml"));
}
Downstream this appeared in alacritty/alacritty#618