-
Notifications
You must be signed in to change notification settings - Fork 31
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
Cargo APK 0.9.3 and later does not appear to respect rustflags
in config.toml
#22
Comments
Your colleague already addressed that in rust-mobile/ndk#357, but I have yet to make a release pending reviews on my other |
Oh 😅! Thanks, closing this issue then! |
Fwiw the breakage in |
@Hoodad @Jake-Shadle you may also be interested in rust-mobile/ndk#260 / rust-mobile/ndk#365 regarding your internal usage of |
Thanks for the heads up and sorry for being a bit vacant and not replying to your question @MarijnS95 There will be some additional speed on Android side now going forward. We're currently inventorying what we need going forward and looking at what options are available. Regarding the reason why I created the issue in the first place. I have tested latest version of Even if |
So the issue is simply that all these ways of setting |
RUSTFLAGS
rustflags
in config.toml
Hello!
It appears that when building using
cargo-apk 0.9.3
and later theRUSTFLAGS
set in /.cargo/config.toml are not being included. In our code-base we depend on the flag rust flag "--cfg tokio_unstable" being set. However when building this flag is not being set. Earlier version ofcargo-apk
like 0.9.2 does not show this behavior.Quickly skimming the diff there appears to have been some changes to how flags are being handled, though I haven't looked to close yet.
The text was updated successfully, but these errors were encountered: