-
-
Notifications
You must be signed in to change notification settings - Fork 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
Not passing rustflags to build commands. #80
Comments
Strange. I don't have time to look into this at the moment, but if someone can investigate why this is happening a fix should be straightforward. Try exporting |
There are multiple ways of setting Line 197 in 7d34e97
|
👋🏻 I'm having the same issue with I tried setting
If I set
|
If someone can create a super simple reproduction repo for this, I should be able to fix it quickly. |
@bbqsrc all you need is to replicate rust-mobile/ndk#357 (or migrate to / merge with |
Using the build on
Tracking that down now. (The project works for the macOS and iOS simulator build that don't use |
I modified
|
Hmm, interesting. |
Fixed in v2.14.4, for both encoded and not encoded flags. |
I am on Windows, trying to compile a program with tokio (unstable enabled) for Android.
This builds successfully when using
cargo build
, but I can't seem to getcargo ndk ...
to include the required--cfg tokio_unstable
flags when building.Steps to reproduce:
In my
<project_root>/.cargo/config.toml
file:When I run this command:
cargo ndk -t x86_64 -o ./out build -v
I am not seeing
--cfg tokio_unstable
in the build commands, and my program fails to compile since it's using the 'unstable' features of tokio.The text was updated successfully, but these errors were encountered: