So, Rust nightly is basically unusable to me running 12-CURRENT with new stat struct (and some other updates).
I can install Rust stable from ports which has the patch for ino64, however I need nightly and ports does not provide that.
I have patched std and libc in rust-src but no matter how I run x.py build the bootstrap process always crashes with no backtrace or debug information. I also tried modifying existing (freebsd) port to use nightly instead of stable but same error..
What is the magic recipe for successfully building nightly on FreeBSD? There must be one since its available with rustup...
Or better yet, can the rust build infrastructure be updated to provide a toolchain like nightly-x86_64-unknown-freebsd-ino64 until we can detect OS version in rustc and have a more permanent solution?
Patch for 1.18 is here: https://github.com/freebsd/freebsd-ports/blob/master/lang/rust/files/extra-patch-ino64