@@ -31,8 +31,7 @@ cargo test --target "${TARGET}" --features debug
3131cargo test --target " ${TARGET} " --features stats
3232cargo test --target " ${TARGET} " --features ' debug profiling'
3333
34- cargo test --target " ${TARGET} " \
35- --features unprefixed_malloc_on_supported_platforms
34+ cargo test --target " ${TARGET} " --features override
3635cargo test --target " ${TARGET} " --no-default-features
3736cargo test --target " ${TARGET} " --no-default-features \
3837 --features background_threads_runtime_support
@@ -48,7 +47,7 @@ cargo test --target "${TARGET}" --release
4847cargo test --target " ${TARGET} " --manifest-path jemalloc-sys/Cargo.toml
4948cargo test --target " ${TARGET} " \
5049 --manifest-path jemalloc-sys/Cargo.toml \
51- --features unprefixed_malloc_on_supported_platforms
50+ --features override
5251
5352# FIXME: jemalloc-ctl fails in the following targets
5453case " ${TARGET} " in
@@ -78,13 +77,11 @@ cargo test --target "${TARGET}" \
7877# ${CARGO_CMD} test --target "${TARGET}" --features alloc_trait
7978# fi
8079
81- # Test that unprefixed_malloc_on_supported_platforms works in dylibs.
80+ # Test that overriding works in dylibs.
8281case " $TARGET " in
8382 " i686-unknown-linux-musl" ) ;;
8483 " x86_64-unknown-linux-musl" ) ;;
8584 * )
86- cargo run --target " ${TARGET} " \
87- -p test-dylib \
88- --features unprefixed_malloc_on_supported_platforms
85+ cargo run --target " ${TARGET} " -p test-dylib --features override
8986 ;;
9087esac
0 commit comments