Comments (1)
I cannot reproduce with the following commands:
cargo new foo --lib
cd foo
echo "[package]" > Cargo.toml
echo "name = 'foo'" >> Cargo.toml
echo "version = '5123.0.0'" >> Cargo.toml
mkdir -p tests
touch tests/bar.rs
cargo +stable t
And got this output:
Creating library `foo` package
note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Compiling foo v5123.0.0 (/home/user/repos/foo)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
Running unittests src/lib.rs (target/debug/deps/foo-f82fbcf55ac84707)
running 1 test
test tests::it_works ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/bar.rs (target/debug/deps/bar-70708f1a8f83e042)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests foo
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Would you mind sharing a minimal reproducible example of it, and also the console output you've got from Cargo that had this issue?
from cargo.
Related Issues (20)
- dubiously overconstrained warnings about project-level configuration file name HOT 2
- Add `--workspace` to `cargo add` HOT 3
- In `Cargo.toml` I missspelled "version" and it still worked, but after I corrected it I now get compile errors. HOT 3
- Windows `\\?\` verbatim paths break idiomatic use of OUT_DIR and `include!` HOT 4
- Build host architecture is written into metadata hash for compilation units, breaking reproducibility of output between host platforms HOT 9
- gix integration breaks doc building HOT 5
- $CARGO_HOME/.cargo/config.toml does not respect XDG specifications HOT 2
- Allow passing a `credentials.toml` file path as a CLI arg for `cargo login` and `cargo publish` HOT 7
- False positives in dead code warning HOT 2
- Add `--all-features` to `cargo add` HOT 4
- Allow using `cargo install --git <url>` to install latest tag HOT 2
- Reduce `--verbose` output of `--check-cfg` args HOT 4
- Nondeterministic resolution (?) causing dependency to flap in Cargo.lock HOT 3
- Lints table allows both `-` and `_` separators, including allowing redundant entries. HOT 1
- Workspace unexpected-cfg lint configuration does not apply to integration test. HOT 3
- Remove `cargo::rustc-check-cfg` to only have one place to configure the `unknown_cfgs` lint HOT 8
- Location of patch information HOT 8
- The output from `cargo package --list` is not good for workspaces HOT 5
- Recommendations for workspace creation HOT 1
- cargo-upgrade verbose option broken HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo.