I have a project that uses unit, functional, and doc tests. When I run “cargo test”, all three sets of tests execute. But when I cross-compile, only the unit and functional tests do. The output makes no mention of Doc-tests at all. How do I convince cargo to cross-compile doc tests? My host is x86_64 FreeBSD and I’m trying to cross test i686 FreeBSD.
> cargo --version cargo 0.21.0 (5b4b8b2ae 2017-08-12) > freebsd-version 11.0-RELEASE-p9 > cargo test --target=i686-unknown-freebsd -v