mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
e93b33ea05
cargo config 1. MUSL is no longer the default target. This allows building on Mac and Windows. 2. On Linux, code coverage compiler options are supplied by default. pre-commit, pre-push - Coverage is turned on only on Linux - clippy is run on all platforms github - MUSL build is tested to ensure that stand alone executables can be created Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
15 lines
360 B
TOML
15 lines
360 B
TOML
[build]
|
|
#target = "x86_64-unknown-linux-musl"
|
|
|
|
# Flags to enable code-coverage for all builds.
|
|
# These can be removed later.
|
|
#rustflags = ["-Cinstrument-coverage"]
|
|
incremental = true
|
|
|
|
[env]
|
|
# Name of coverage instrumentation log file.
|
|
LLVM_PROFILE_FILE="target/cargo-test-%p-%m.profraw"
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
rustflags = ["-Cinstrument-coverage"]
|