Hi,
When I try to run `cargo test` on a Rust project I get the following
panic on the Doc-tests (the tests succeed on Linux):
Doc-tests kpdb
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err`
value: Error { repr: Custom(Custom { kind: Other, error:
StringError("no current exe available (short)") }) }', /usr/obj/ports
/rust-1.18.0/rustc-1.18.0-src/src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: test failed, to rerun pass '--doc'
Any suggestions on how to fix this? Some system info below.
$ sysctl kern.version
kern.version=OpenBSD 6.1-current (GENERIC.MP) #99: Mon Jul 17 16:53:49
MDT 2017
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
$ pkg_info |egrep 'cargo|rust'
cargo-0.19.0 package manager for Rust language
rust-1.18.0 compiler for Rust Language
Kind regards,
Martijn Rijkeboer