We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--crate-type
Android requires the Cargo.toml to include
Cargo.toml
[lib] crate-type = ["staticlib", "cdylib"]
This is problematic for users who also want to build for iOS. See rust-lang/cargo#4881.
Could this crate leverage rust-lang/cargo#10083 to add cdylib to all the rustc calls instead of requiring it to be specified in Cargo.toml?
cdylib
rustc
The text was updated successfully, but these errors were encountered:
cargo-ndk is just a thin wrapper around cargo.
cargo-ndk
cargo
Try cargo ndk rustc --crate-type=cdylib.
cargo ndk rustc --crate-type=cdylib
Sorry, something went wrong.
No branches or pull requests
Android requires the
Cargo.toml
to includeThis is problematic for users who also want to build for iOS. See rust-lang/cargo#4881.
Could this crate leverage rust-lang/cargo#10083 to add
cdylib
to all therustc
calls instead of requiring it to be specified inCargo.toml
?The text was updated successfully, but these errors were encountered: