-
Notifications
You must be signed in to change notification settings - Fork 190
Closed
Description
When compiling with the toolchain version 1.35, I get the following warning:
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/h4xor/forks/metrics/metrics-runtime/Cargo.toml
workspace: /home/h4xor/forks/metrics/Cargo.toml
This is due to the crate metrics-runtime
which uses a [profile config
].
However it is ignored since only a single profile set can be set per workspace (rust-lang/cargo#3249).
Possible solutions:
- Use this as the profile for the entire workspace
- Use per package profile override (Use a single profile set per workspace rust-lang/cargo#3249 (comment))
Can't really tell which one is better since I don't understand the motivation for this profile config in the first place.
Metadata
Metadata
Assignees
Labels
No labels