Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid toml syntax in developer tooling #358

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Makefile.internal.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ workspace = false
command = "cargo"
args = ["test", "--all-features"]
# toolchain = "nightly"
env = {
RUSTFLAGS = "-Cinstrument-coverage",
RUSTDOCFLAGS = "-Cinstrument-coverage",
LLVM_PROFILE_FILE = "llvm_profile-%p-%m.profraw"
}

[tasks.coverage-run-tests.env]
RUSTFLAGS = "-Cinstrument-coverage"
RUSTDOCFLAGS = "-Cinstrument-coverage"
LLVM_PROFILE_FILE = "llvm_profile-%p-%m.profraw"

# After generating the .profraw, this step creates the html report.
# Important! Keep in grcov flags in sync with Makefile.internal.toml.
Expand All @@ -47,7 +47,9 @@ args = [
"--excl-line", "\\#\\[derive\\(|// cov\\(skip\\)",
"--excl-br-line", "\\#\\[derive\\(|// cov\\(skip\\)",
]
env = { LLVM_PROFILE_FILE = "llvm_profile-%p-%m.profraw" }

[tasks.coverage-run-grcov.env]
LLVM_PROFILE_FILE = "llvm_profile-%p-%m.profraw"

# Cleans up all of the .profraw files left over after running -C instrument-coverage
[tasks.coverage-clean-profraw]
Expand Down