From f0714d19dd36f79895cfb0c1d3c3392805900d06 Mon Sep 17 00:00:00 2001 From: tower120 Date: Sat, 9 Nov 2024 23:15:31 +0200 Subject: [PATCH] test --- .github/workflows/coverage.yml | 3 ++- Cargo.toml | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b604a24..bde24fa 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -17,7 +17,8 @@ jobs: uses: actions/checkout@v4 - name: Generate code coverage - run: | + run: + RUSTFLAGS="-Copt-level=0" cargo tarpaulin --all-features --out xml - name: Upload to codecov.io diff --git a/Cargo.toml b/Cargo.toml index ffcd0e9..f5a41c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,10 +19,6 @@ rand = "0.8" spin = "0.9.8" arrayvec = "0.7" -[profile.test] -opt-level = 0 -lto = "off" - [[bench]] name = "mp_vs_sp_write" harness = false \ No newline at end of file