hurl/.cargo/config.toml
Josh Soref 740e288799
spelling: deactivate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:08:12 +02:00

11 lines
456 B
TOML

# On platforms with musl, we deactivate static linking
# with CRT: on Alpine for instance, we must compile Hurl with this flag
# in order to produce a valid binary (mainly because of curl crate)
[target.'cfg(target_env = "musl")']
rustflags = ["-Ctarget-feature=-crt-static"]
# Deactivate static linking for `cargo test --doc`
# Should be only activated for Alpine but I don't know how to set it...
[build]
rustdocflags = ["-Ctarget-feature=-crt-static"]