From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/sharded-slab/bin/loom.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 vendor/sharded-slab/bin/loom.sh (limited to 'vendor/sharded-slab/bin') diff --git a/vendor/sharded-slab/bin/loom.sh b/vendor/sharded-slab/bin/loom.sh new file mode 100755 index 000000000..244eebd9c --- /dev/null +++ b/vendor/sharded-slab/bin/loom.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# Runs Loom tests with defaults for Loom's configuration values. +# +# The tests are compiled in release mode to improve performance, but debug +# assertions are enabled. +# +# Any arguments to this script are passed to the `cargo test` invocation. + +RUSTFLAGS="${RUSTFLAGS} --cfg loom -C debug-assertions=on" \ + LOOM_MAX_PREEMPTIONS="${LOOM_MAX_PREEMPTIONS:-2}" \ + LOOM_CHECKPOINT_INTERVAL="${LOOM_CHECKPOINT_INTERVAL:-1}" \ + LOOM_LOG=1 \ + LOOM_LOCATION=1 \ + cargo test --release --lib "$@" -- cgit v1.2.3