-
-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Description
I'm running the following command:
cargo tarpaulin --profile ci --locked --workspace
And I get the following warning:
warning: redacted-crate-name@0.0.0: Unknown cargo profile `ci`. Defaulted to `Release` for the runtime build.
However, my Cargo.toml
has:
[profile.ci]
inherits = "dev" # required otherwise we get the "unknown profile" error
codegen-units = 256 # Increase parallel code generation units
debug = false # No debug information
incremental = false # Disable incremental compilation for consistent CI performance
lto = "off" # Disable Link Time Optimization
opt-level = 0 # No optimization
overflow-checks = false # Disable overflow checks
panic = 'abort' # Use abort on panic to reduce binary size
Furthermore, if I run the following command I don't get any issues:
cargo b --profile ci
It might be that the --profile
flag is for LLVM profiles, but if that is the case, the docs/help needs to be updated to match that, as it stands it's unclear.
Metadata
Metadata
Assignees
Labels
No labels