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
I want use staticlib on macos, and cdylib on android.
dependencies is ok, but crate-type not work
[target.'cfg(target_os="macos")'.dependencies] tokio = "0" [target.'cfg(target_os="android")'.dependencies] jni = "0"
[target.'cfg(target_os="macos")'.lib] crate-type = ["staticlib"] [target.'cfg(target_os="android")'.lib] crate-type = ["cdylib"]
The text was updated successfully, but these errors were encountered:
it's a cargo issue, rust-lang/cargo#10083 , you can specify the type with --crate-type from cli. toml configuration is not supported yet.
--crate-type
Sorry, something went wrong.
No branches or pull requests
I want use staticlib on macos, and cdylib on android.
dependencies is ok, but crate-type not work
The text was updated successfully, but these errors were encountered: