diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0c3a14df..1b75b49b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -82,7 +82,8 @@ jobs: fuzz_read: runs-on: ubuntu-latest - + env: + RUSTFLAGS: --profile=release-with-debug steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 @@ -109,7 +110,8 @@ jobs: fuzz_read_with_no_features: runs-on: ubuntu-latest - + env: + RUSTFLAGS: --profile=release-with-debug steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 @@ -136,7 +138,8 @@ jobs: fuzz_write: runs-on: ubuntu-latest - + env: + RUSTFLAGS: --profile=release-with-debug steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 @@ -163,7 +166,8 @@ jobs: fuzz_write_with_no_features: runs-on: ubuntu-latest - + env: + RUSTFLAGS: --profile=release-with-debug steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 diff --git a/Cargo.toml b/Cargo.toml index 7107b7b2..3bb0ea7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,6 +28,10 @@ zstd = { version = "0.13.0", optional = true, default-features = false } zopfli = { version = "0.8.0", optional = true } deflate64 = { git = "https://github.com/Pr0methean/deflate64-rs.git", optional = true } +[profile.release-with-debug] +inherits = "release" +debug = true + [target.'cfg(any(all(target_arch = "arm", target_pointer_width = "32"), target_arch = "mips", target_arch = "powerpc"))'.dependencies] crossbeam-utils = "0.8.19"