Closed
Description
As it was said here #34987, we should have support for targets that use a dynamic musl (like alpine linux) in nightly rust.
I want to build .so file to use on Alpine (musl).
[lib]
crate-type = ["dylib"] # with staticlib it compiles OK
cargo build --target=x86_64-unknown-linux-musl --release --manifest-path ./Cargo.toml
error: cannot produce dylib for ... as the target `x86_64-unknown-linux-musl` does not support these crate types
rustc -V
rustc 1.22.0-nightly (f1b5225e8 2017-10-01)
Metadata
Metadata
Assignees
Labels
No labels