Skip to content

Commit

Permalink
Disable LeakSanitizer tests
Browse files Browse the repository at this point in the history
Leak sanitizer infrastructure in Rust is badly broken [0]. Disable it
until it resembles something of a working piece of software again.

[0] rust-lang/rust#111073

Signed-off-by: Daniel Müller <[email protected]>
  • Loading branch information
d-e-s-o committed Dec 11, 2024
1 parent c784dd4 commit ffa8a8a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: "Set environmental variables"
shell: bash
run: |
RUST_BACKTRACE_nightly='1'
CFLAGS_nightly='-fsanitize=leak'
CXXFLAGS_nightly='-fsanitize=leak'
RUSTFLAGS_nightly='-Zsanitizer=leak'
#RUST_BACKTRACE_nightly='1'
#CFLAGS_nightly='-fsanitize=leak'
#CXXFLAGS_nightly='-fsanitize=leak'
#RUSTFLAGS_nightly='-Zsanitizer=leak'
# A function for defining a variable conditional on the toolchain in
# use.
Expand Down Expand Up @@ -76,10 +76,10 @@ jobs:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run tcp_ca
env:
CFLAGS: '-fsanitize=leak'
CXXFLAGS: '-fsanitize=leak'
RUSTFLAGS: '-Zsanitizer=leak'
#env:
# CFLAGS: '-fsanitize=leak'
# CXXFLAGS: '-fsanitize=leak'
# RUSTFLAGS: '-Zsanitizer=leak'
run: |
cargo build --package tcp_ca
sudo target/debug/tcp_ca
Expand Down

0 comments on commit ffa8a8a

Please sign in to comment.