Skip to main content

native/ex_cedar_native/.cargo/config.toml

# musl targets are statically linked by default, which prevents producing a
# cdylib (the NIF shared object). Disabling crt-static lets the build emit the
# .so. Only the musl triples are affected; gnu/darwin/windows are untouched.
[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]

[target.aarch64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]