mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-19 17:01:36 +03:00
740e288799
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
11 lines
456 B
TOML
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"]
|