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
Cross.toml
[target.x86_64-unknown-linux-musl] image = "musl-openssl:1.0" CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS = ["-C target-feature=-crt-static"]
When I use cross build --target x86_64-unknown-linux-musl --release, it says
cross build --target x86_64-unknown-linux-musl --release
[cross] warning: found unused key(s) in Cross configuration > target.x86_64-unknown-linux-musl.cargo_target_x86_64_unknown_linux_musl_rustflags
How can I setup rustflags in order to compile cdylib in musl?
No response
cross 0.2.5 (d8631fe 2024-08-17)
The text was updated successfully, but these errors were encountered:
Just set the environment variable RUSTFLAGS like normal!
RUSTFLAGS
Sorry, something went wrong.
No branches or pull requests
Checklist
Describe your issue
Cross.toml
When I use
cross build --target x86_64-unknown-linux-musl --release
, it saysHow can I setup rustflags in order to compile cdylib in musl?
What target(s) are you cross-compiling for?
No response
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (d8631fe 2024-08-17)
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: