Description
Note that I am using rustup
, not the FreeBSD lang/rust
port.
$ cat test.rs
fn main() {
panic!();
}
$ rustc test.rs && RUST_BACKTRACE=1 ./test
thread 'main' panicked at 'explicit panic', test.rs:2:5
stack backtrace:
0: <std::thread::local::AccessError as core::fmt::Debug>::fmt
1: <std::ffi::c_str::NulError as core::fmt::Debug>::fmt
2: <std::ffi::c_str::NulError as core::fmt::Debug>::fmt
3: <std::ffi::c_str::NulError as core::fmt::Debug>::fmt
4: <std::ffi::c_str::NulError as core::fmt::Debug>::fmt
5:
6:
7:
8: <std::ffi::c_str::NulError as core::fmt::Debug>::fmt
9: <std::ffi::c_str::NulError as core::fmt::Debug>::fmt
10:
11:
12:
13:
14: <unknown>
$ rustc --version --verbose
rustc 1.29.0 (aa3ca1994 2018-09-11)
binary: rustc
commit-hash: aa3ca1994904f2e056679fce1f185db8c7ed2703
commit-date: 2018-09-11
host: x86_64-unknown-freebsd
release: 1.29.0
LLVM version: 7.0
$ freebsd-version
11.2-RELEASE-p3