-
Notifications
You must be signed in to change notification settings - Fork 62
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
Tests are failing with nightly rust due to packed debuginfo #256
Comments
macOS defaults to packed for back compat reasons, so not setting split-debuginfo at all should work. |
Hmm, can't test that now, but the reason I had this in the first place is because it was defaulting to unpacked. |
Right, cargo changed the default in rust-lang/cargo#9298. My bad. |
The relevant cargo issue is rust-lang/cargo#4897 We can use environment variables to work around this in CI, but the cargo setting would still be preferred. |
Currently the tests require Linux builds to use
split-debuginfo=off
and macOS builds to usesplit-debuginfo=packed
. On stable rust, we achieve this withsplit-debuginfo=packed
inCargo.toml
. This works because this option is only supported for macOS. However, nightly rust has stabilized this option for Linux as well, and so now CI is failing.I can't see how to specify platform specific options in profiles. For example, I would expect something like this to work, but it doesn't:
@davidtwco Do you know how to achieve this? Is it intended that all platforms must use the same
split-debuginfo
settings?The text was updated successfully, but these errors were encountered: