`Cargo test` runs 0 test cases for this crate, and `cargo test -p libc-test` results in error in linux.
biabbas opened this issue · 0 comments
cargo test
warning: /mnt/8f8d3ac7-c581-458d-8040-5a5ae3812454/vtelidev/bi/rust/crates/libc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
Finished test
profile [unoptimized + debuginfo] target(s) in 0.02s
Running unittests src/lib.rs (target/debug/deps/libc-2ab123f0a6e9ea81)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests libc
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
I've attached cargo test -p libc-test
The command works in windows. For linux and mac, it fails.
On linux rust version = 1.79 nightly.
libc-test-p_linux_rust_179.txt
On windows rust version = 1.75 stable.
It ran 753 tests in tests/makedev.rs and all of them passed.
libc-test-pwindowspass.txt