-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-cargo-targetsArea: selection and definition of targets (lib, bins, examples, tests, benches)Area: selection and definition of targets (lib, bins, examples, tests, benches)S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Z-target-applies-to-hostNightly: target-applies-to-hostNightly: target-applies-to-hostregression-from-stable-to-betaRegression in beta that previously worked in stable.Regression in beta that previously worked in stable.
Description
Problem
Got lots of warnings like below
warning: output filename collision.
The lib target `cfg_if` in package `cfg-if v1.0.0` has the same output filename as the lib target `cfg_if` in package `cfg-if v1.0.0`.
Colliding filename is: target/debug/deps/libcfg_if-b07c5e93d2d15f7e.rlib
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
Steps
no warnings:
- stable
- cargo 1.81.0-nightly (a515d46 2024-07-02)
warnings:
- cargo 1.81.0-nightly (154fdac 2024-07-07) start to pop up warnings.
Possible Solution(s)
No response
Notes
Version
nightly-x86_64-apple-darwin
Metadata
Metadata
Assignees
Labels
A-cargo-targetsArea: selection and definition of targets (lib, bins, examples, tests, benches)Area: selection and definition of targets (lib, bins, examples, tests, benches)S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Z-target-applies-to-hostNightly: target-applies-to-hostNightly: target-applies-to-hostregression-from-stable-to-betaRegression in beta that previously worked in stable.Regression in beta that previously worked in stable.