-
Notifications
You must be signed in to change notification settings - Fork 74
[profile.release]
in config file is ignored
#64
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
Comments
@nastevens As you've suggested, I am trying to get this working with a setting in
However, I have found that the Yocto (Langdale) build of the recipe (that uses Is there something preventing bitbake from seeing the |
@DavidAntliff This is actually a bug that is fixed but the issue didn't get updated. What you're seeing is because Yocto builds are isolated so they are as repeatable as possible. So a Yocto build doesn't look at anything on your system or in your home directory, which is why adding that option in that directory had no effect. If you want a custom |
This bug doesn't exist anymore since we don't generate a custom |
Oh, I had the |
When building with more verbose logs the following will always be shown:
The reason for this message is that specifying
profile.*
in a.cargo/config
file requires the unstableconfig-profile
flag: https://doc.rust-lang.org/cargo/reference/unstable.html#config-profilesThe result of this is that the
debug = true
option is not actually being applied, so the binary is not being compiled with full debug information. In the case of Yocto, that's not what we want because we want to build with full debug and then allow Yocto to strip the information off into separate debug files.I don't immediately see a good way to fix this. Perhaps we could pass the debug level in as a flag using the
RUSTFLAGS
environment variable, i.e. something likeexport RUSTFLAGS='-C debuginfo=2'
( debuginfo doc ). But that would definitely need proving out.The text was updated successfully, but these errors were encountered: