Searched full:rustflags (Results 1 – 25 of 112) sorted by relevance
12345
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 …]
13 RUSTFLAGS: -Dwarnings37 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test40 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}41 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features44 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}56 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV62 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test65 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}66 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features69 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}[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"
32 RUSTFLAGS: --cfg deny_warnings -Dwarnings50 echo RUSTFLAGS=$RUSTFLAGS >> $GITHUB_ENV53 …RUSTFLAGS: ${{env.RUSTFLAGS}} ${{matrix.os && github.event_name != 'schedule' && '--cfg skip_ui_te…60 RUSTFLAGS: --cfg compile_error_if_std ${{env.RUSTFLAGS}}63 RUSTFLAGS: --cfg compile_error_if_alloc --cfg cxx_experimental_no_alloc ${{env.RUSTFLAGS}}
10 rustflags = [ "--edition=2021" ]14 rustflags = [ "--edition=2018" ]18 rustflags = [ "--edition=2015" ]58 rustflags = [68 rustflags = [76 rustflags = [ "-Funsafe_code" ]82 rustflags = [
23 # rustflags (optional)55 _rustflags = invoker.rustflags102 "rustflags",112 rustflags = [117 rustflags += _rustflags138 rustflags = []
108 if (defined(invoker.rustflags)) {109 _rustflags += invoker.rustflags297 rustflags = _rustflags344 "rustflags",361 rustflags = _rustflags363 rustflags += [ "-Cmetadata=${_rustc_metadata}" ]
13 RUSTFLAGS: -Dwarnings35 run: echo RUSTFLAGS=$(RUSTFLAGS)\ --cfg=exhaustive >> $GITHUB_ENV38 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV60 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
10 rustflags = [ "--edition=2021" ]14 rustflags = [ "--edition=2018" ]18 rustflags = [ "--edition=2015" ]65 rustflags = [75 rustflags = [83 rustflags = [ "-Funsafe_code" ]
23 # rustflags (optional)55 _rustflags = invoker.rustflags102 "rustflags",112 rustflags = [117 rustflags += _rustflags137 rustflags = []
41 rustflags = [ "-Zforce-unstable-if-unmarked" ]76 rustflags = [ "-Zforce-unstable-if-unmarked" ]101 rustflags = [ "-Zforce-unstable-if-unmarked" ]135 rustflags = [ "-Zforce-unstable-if-unmarked" ]168 rustflags = [ "-Zforce-unstable-if-unmarked" ]191 rustflags = [ "-Zforce-unstable-if-unmarked" ]227 rustflags = [ "-Zforce-unstable-if-unmarked" ]266 rustflags = [ "-Zforce-unstable-if-unmarked" ]305 rustflags = [ "-Zforce-unstable-if-unmarked" ]335 rustflags = [[all …]
12 RUSTFLAGS: -Dwarnings24 rustflags: --cfg thiserror_nightly_testing34 RUSTFLAGS: ${{matrix.rustflags}} ${{env.RUSTFLAGS}}
12 RUSTFLAGS: -Dwarnings29 rustflags: --cfg async_trait_nightly_testing38 RUSTFLAGS: ${{matrix.rustflags}} ${{env.RUSTFLAGS}}
13 RUSTFLAGS: -Dwarnings35 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV54 RUSTFLAGS: --cfg test_node_semver ${{env.RUSTFLAGS}}
56 // If Cargo wants to set RUSTFLAGS, use that. in compile_probe()57 if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") { in compile_probe()58 if !rustflags.is_empty() { in compile_probe()59 for arg in rustflags.split('\x1f') { in compile_probe()
137 // RUSTFLAGS="--cfg tokio_no_const_thread_local" in main()145 // RUSTFLAGS="--cfg tokio_no_addr_of" in main()153 // RUSTFLAGS="--cfg tokio_no_target_has_atomic" in main()161 // RUSTFLAGS="--cfg tokio_no_const_mutex_new" in main()169 // RUSTFLAGS="--cfg tokio_no_atomic_u64" in main()
173 build_env.setdefault("RUSTFLAGS", "")174 build_env["RUSTFLAGS"] += " -D warnings"176 build_env["RUSTFLAGS"] += " -C strip=symbols"178 build_env["RUSTFLAGS"] += " -C profile-generate=" + args.profile_generate180 build_env["RUSTFLAGS"] += " -C profile-use=" + args.profile_use
342 rustflags = [ "-Ccontrol-flow-guard" ]347 rustflags = [ "-Ccontrol-flow-guard=nochecks" ]360 rustflags = [ "-Ccontrol-flow-guard=nochecks" ]505 rustflags = [ "-Ctarget-feature=-crt-static" ]511 rustflags = [ "-Clink-arg=msvcrt.lib" ]523 rustflags = [ "-Ctarget-feature=+crt-static" ]529 rustflags = [ "-Clink-arg=libcmt.lib" ]548 rustflags = [ "-Clink-arg=msvcrtd.lib" ]557 rustflags = [ "-Ctarget-feature=-crt-static" ]564 rustflags = [ "-Clink-arg=msvcrt.lib" ][all …]
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…
110 // If Cargo wants to set RUSTFLAGS, use that. in compile_probe()111 if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") { in compile_probe()112 if !rustflags.is_empty() { in compile_probe()113 for arg in rustflags.split('\x1f') { in compile_probe()
50 if (!defined(rustflags)) {51 rustflags = []55 rustflags += [ "--cfg=feature=\"${i}\"" ]
13 RUSTFLAGS: -Dwarnings35 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
2 rustflags = [7 rustflags = [