Searched full:rustflags (Results 1 – 25 of 45) sorted by relevance
12
41 export RUSTFLAGS="-C link-arg=-L/usr/local/lib -C link-arg=-lc++"60 RUSTFLAGS="$RUSTFLAGS --cfg fuzzing" # used to change code logic61 RUSTFLAGS="$RUSTFLAGS -Cdebug-assertions" # to get debug_assert in rust62 RUSTFLAGS="$RUSTFLAGS -Zsanitizer=address" # address sanitizer (ASAN)64 RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=1" 65 RUSTFLAGS="$RUSTFLAGS -Cforce-frame-pointers"67 RUSTFLAGS="$RUSTFLAGS -Cpasses=sancov"68 RUSTFLAGS="$RUSTFLAGS -Cllvm-args=-sanitizer-coverage-level=4"69 RUSTFLAGS="$RUSTFLAGS -Cllvm-args=-sanitizer-coverage-trace-compares"70 RUSTFLAGS="$RUSTFLAGS -Cllvm-args=-sanitizer-coverage-inline-8bit-counters"[all …]
17 # This just expands RUSTFLAGS in case of a coverage build27 export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix src=$crate_src_abspath/src"40 export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix $i=$fuzz_src_abspath/$i"41 # Bash while syntax so that we modify RUSTFLAGS in main shell instead of a subshell.44 export RUSTFLAGS="$RUSTFLAGS -C debug-assertions=no"
92 # use RUSTFLAGS.96 export RUSTFLAGS="--cfg fuzzing -Zsanitizer=${SANITIZER} -Cdebuginfo=1 -Cforce-frame-pointers"98 export RUSTFLAGS="--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers"103 export RUSTFLAGS="$RUSTFLAGS -Zinstrument-coverage -C link-arg=-lc++"154 echo "RUSTFLAGS=$RUSTFLAGS"
24 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test25 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features38 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test39 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features40 - run: RUSTFLAGS='-Z allow-features=' cargo test
18 rustflags: --cfg async_trait_nightly_testing26 RUSTFLAGS: ${{matrix.rustflags}}
18 rustflags: --cfg thiserror_nightly_testing27 RUSTFLAGS: ${{matrix.rustflags}}
92 // If Cargo wants to set RUSTFLAGS, use that. in compile_probe()93 if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") { in compile_probe()94 if !rustflags.is_empty() { in compile_probe()95 for arg in rustflags.split('\x1f') { in compile_probe()
46 …RUSTFLAGS="-Z sanitizer=address" cargo +nightly -Z build-std test --target x86_64-unknown-linux-gn…47 …RUSTFLAGS="-Z sanitizer=leak" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu -…48 …RUSTFLAGS="-Z sanitizer=memory" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu…
9 RUSTFLAGS: -Dwarnings38 RUSTFLAGS: --cfg test_node_semver ${{env.RUSTFLAGS}}
24 // nightly, unless `-Z allow-feature` in RUSTFLAGS disallows unstable165 } else if let Some(rustflags) = env::var_os("RUSTFLAGS") { in feature_allowed()166 flags_var = rustflags; in feature_allowed()
8 RUSTFLAGS="-Z sanitizer=address" \12 RUSTFLAGS="-Z sanitizer=thread" \
32 RUSTFLAGS: --cfg deny_warnings49 run: echo "RUSTFLAGS=--cfg skip_ui_tests $RUSTFLAGS" >> $GITHUB_ENV
18 RUSTFLAGS= macro25 RUSTFLAGS="-Clinker=aarch64-linux-gnu-ld" macro75 $(RUSTFLAGS) --target $(RUST_TARGET)
27 RUSTFLAGS: -D warnings43 RUSTFLAGS: -D warnings
22 export RUSTFLAGS="$RUSTFLAGS -C debug-assertions=no"
49 RUSTFLAGS: "-Zinstrument-coverage"53 RUSTFLAGS: "-Zinstrument-coverage"
14 RUSTFLAGS: "--deny=warnings --allow deref-nullptr"91 - run: RUSTFLAGS="-Z sanitizer=address" cargo test --all --target x86_64-unknown-linux-gnu122 RUSTFLAGS: ""
33 export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix $i=$crate_src_abspath/$i"
47 RUSTFLAGS: -C target-cpu=native110 RUSTFLAGS: -C target-cpu=skylake -C target-feature=+aes
12 RUSTFLAGS: -Dwarnings143 run: RUSTFLAGS="--cfg loom -Dwarnings" cargo test --lib
216 env['RUSTFLAGS'] = '-C linker=' + env['TARGET_CC']218 env['RUSTFLAGS'] += ' -Cembed-bitcode=yes -Clto'223 env['RUSTFLAGS'] = env.get('RUSTFLAGS', '') + ' -C link-args=/EXPORT:{}'.format(symbol)
75 …export RUSTFLAGS="$RUSTFLAGS -Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm…
5 rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc"]
12 RUSTFLAGS: -D warnings
11 RUSTFLAGS: "-D warnings"