Rollup merge of #131334 - heiher:loong-sanitizers, r=Mark-Simulacrum

Enable sanitizers for loongarch64-unknown-*

Enable sanitizers for `loongarch64-unknown-linux-{gnu,musl,ohos}` targets.
This commit is contained in:
Trevor Gross 2024-10-12 21:38:35 -05:00 committed by GitHub
commit d576cdda7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 23 additions and 3 deletions

View file

@ -47,6 +47,7 @@ ENV RUST_CONFIGURE_ARGS \
--enable-extended \
--enable-full-tools \
--enable-profiler \
--enable-sanitizers \
--disable-docs
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $TARGETS

View file

@ -29,6 +29,7 @@ ENV RUST_CONFIGURE_ARGS \
--enable-extended \
--enable-full-tools \
--enable-profiler \
--enable-sanitizers \
--disable-docs \
--set target.loongarch64-unknown-linux-musl.crt-static=false \
--musl-root-loongarch64=/x-tools/loongarch64-unknown-linux-musl/loongarch64-unknown-linux-musl/sysroot/usr