Home
last modified time | relevance | path

Searched full:rustflags (Results 1 – 25 of 45) sorted by relevance

12

/external/oss-fuzz/projects/libra/
Dbuild.sh41 export RUSTFLAGS="-C link-arg=-L/usr/local/lib -C link-arg=-lc++"
60 RUSTFLAGS="$RUSTFLAGS --cfg fuzzing" # used to change code logic
61 RUSTFLAGS="$RUSTFLAGS -Cdebug-assertions" # to get debug_assert in rust
62 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 …]
/external/oss-fuzz/infra/base-images/base-builder/
Dcargo17 # This just expands RUSTFLAGS in case of a coverage build
27 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"
Dcompile92 # 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"
/external/rust/crates/proc-macro2/.github/workflows/
Dci.yml24 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test
25 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features
38 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test
39 - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features
40 - run: RUSTFLAGS='-Z allow-features=' cargo test
/external/rust/crates/async-trait/.github/workflows/
Dci.yml18 rustflags: --cfg async_trait_nightly_testing
26 RUSTFLAGS: ${{matrix.rustflags}}
/external/rust/crates/thiserror/.github/workflows/
Dci.yml18 rustflags: --cfg thiserror_nightly_testing
27 RUSTFLAGS: ${{matrix.rustflags}}
/external/rust/crates/anyhow/
Dbuild.rs92 // 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()
/external/rust/crates/hashlink/.circleci/
Dconfig.yml46RUSTFLAGS="-Z sanitizer=address" cargo +nightly -Z build-std test --target x86_64-unknown-linux-gn…
47RUSTFLAGS="-Z sanitizer=leak" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu -…
48RUSTFLAGS="-Z sanitizer=memory" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu…
/external/rust/crates/semver/.github/workflows/
Dci.yml9 RUSTFLAGS: -Dwarnings
38 RUSTFLAGS: --cfg test_node_semver ${{env.RUSTFLAGS}}
/external/rust/crates/proc-macro2/
Dbuild.rs24 // nightly, unless `-Z allow-feature` in RUSTFLAGS disallows unstable
165 } else if let Some(rustflags) = env::var_os("RUSTFLAGS") { in feature_allowed()
166 flags_var = rustflags; in feature_allowed()
/external/rust/crates/bytes/ci/
Dtsan.sh8 RUSTFLAGS="-Z sanitizer=address" \
12 RUSTFLAGS="-Z sanitizer=thread" \
/external/rust/cxx/.github/workflows/
Dci.yml32 RUSTFLAGS: --cfg deny_warnings
49 run: echo "RUSTFLAGS=--cfg skip_ui_tests $RUSTFLAGS" >> $GITHUB_ENV
/external/crosvm/integration_tests/guest_under_test/
DMakefile18 RUSTFLAGS= macro
25 RUSTFLAGS="-Clinker=aarch64-linux-gnu-ld" macro
75 $(RUSTFLAGS) --target $(RUST_TARGET)
/external/rust/crates/fallible-iterator/.circleci/
Dconfig.yml27 RUSTFLAGS: -D warnings
43 RUSTFLAGS: -D warnings
/external/oss-fuzz/projects/oak/
Dbuild.sh22 export RUSTFLAGS="$RUSTFLAGS -C debug-assertions=no"
/external/rust/crates/command-fds/.github/workflows/
Drust.yml49 RUSTFLAGS: "-Zinstrument-coverage"
53 RUSTFLAGS: "-Zinstrument-coverage"
/external/rust/crates/grpcio/.github/workflows/
Dci.yml14 RUSTFLAGS: "--deny=warnings --allow deref-nullptr"
91 - run: RUSTFLAGS="-Z sanitizer=address" cargo test --all --target x86_64-unknown-linux-gnu
122 RUSTFLAGS: ""
/external/oss-fuzz/projects/wasmtime/
Dbuild.sh33 export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix $i=$crate_src_abspath/$i"
/external/rust/crates/ahash/.github/workflows/
Drust.yml47 RUSTFLAGS: -C target-cpu=native
110 RUSTFLAGS: -C target-cpu=skylake -C target-feature=+aes
/external/rust/crates/bytes/.github/workflows/
Dci.yml12 RUSTFLAGS: -Dwarnings
143 run: RUSTFLAGS="--cfg loom -Dwarnings" cargo test --lib
/external/crosvm/tools/windows/
Dbuild_test.py216 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)
/external/oss-fuzz/projects/suricata/
Dbuild.sh75 …export RUSTFLAGS="$RUSTFLAGS -Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm…
/external/crosvm/third_party/vmm_vhost/.cargo/
Dconfig5 rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc"]
/external/rust/crates/once_cell/.github/workflows/
Dci.yaml12 RUSTFLAGS: -D warnings
/external/rust/crates/shared_child/.github/workflows/
Dci.yml11 RUSTFLAGS: "-D warnings"

12