Current section
Files
Jump to
Current section
Files
native/langelic_epub/.cargo/config.toml
# Cross-compile profile configuration for precompiled NIFs.
# rustler_precompiled consumes this when building release artifacts.
[target.'cfg(target_os = "macos")']
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
# musl defaults to static-linking the C runtime, which disallows cdylib.
# Disable crt-static so the NIF can be built as a shared library.
[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]
[target.aarch64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]