-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--profile
fails to find custom profile
#1648
Comments
I tried to recreate this and it works as expected. I just did [package]
name = "profile_tester"
version = "0.1.0"
edition = "2021"
[dependencies]
[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 And then:
It might be somehow related to it being a workspace crate so if you can provide a bit more details to recreate this I can look deeper into it. |
This repo exhibits the same symptoms, your help is appreciated 🥹🫶 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm running the following command:
And I get the following warning:
However, my
Cargo.toml
has:Furthermore, if I run the following command I don't get any issues:
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.The text was updated successfully, but these errors were encountered: