File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
compiler/rustc_target/src/spec
src/ci/docker/host-x86_64/dist-arm-linux Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1- use crate :: spec:: { Target , TargetOptions } ;
1+ use crate :: spec:: { SanitizerSet , Target , TargetOptions } ;
22
33pub fn target ( ) -> Target {
44 let mut base = super :: linux_musl_base:: opts ( ) ;
55 base. max_atomic_width = Some ( 128 ) ;
66 base. supports_xray = true ;
77 base. features = "+v8a" . into ( ) ;
8+ base. supported_sanitizers = SanitizerSet :: ADDRESS
9+ | SanitizerSet :: CFI
10+ | SanitizerSet :: LEAK
11+ | SanitizerSet :: MEMORY
12+ | SanitizerSet :: THREAD ;
813
914 Target {
1015 llvm_target : "aarch64-unknown-linux-musl" . into ( ) ,
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ ENV CC_arm_unknown_linux_gnueabi=arm-unknown-linux-gnueabi-gcc \
3333
3434ENV HOSTS=arm-unknown-linux-gnueabi,aarch64-unknown-linux-musl
3535
36- ENV RUST_CONFIGURE_ARGS --enable-full-tools --disable-docs --musl-root-aarch64=/usr/local/aarch64-linux-musl \
37- --set target.aarch64-unknown-linux-musl.crt-static=false
36+ ENV RUST_CONFIGURE_ARGS \
37+ --enable-full-tools \
38+ --disable-docs \
39+ --musl-root-aarch64=/usr/local/aarch64-linux-musl \
40+ --enable-sanitizers \
41+ --enable-profiler \
42+ --set target.aarch64-unknown-linux-musl.crt-static=false
3843ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS
You can’t perform that action at this time.
0 commit comments