Home
last modified time | relevance | path

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

12345

/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/rust/crates/proc-macro2/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
37 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test
40 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}
41 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features
44 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}
56 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
62 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test
65 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}
66 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features
69 RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}}
[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/cxx/.github/workflows/
Dci.yml32 RUSTFLAGS: --cfg deny_warnings -Dwarnings
50 echo RUSTFLAGS=$RUSTFLAGS >> $GITHUB_ENV
53RUSTFLAGS: ${{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}}
/external/angle/build/rust/
DBUILD.gn10 rustflags = [ "--edition=2021" ]
14 rustflags = [ "--edition=2018" ]
18 rustflags = [ "--edition=2015" ]
58 rustflags = [
68 rustflags = [
76 rustflags = [ "-Funsafe_code" ]
82 rustflags = [
Drust_unit_test.gni23 # rustflags (optional)
55 _rustflags = invoker.rustflags
102 "rustflags",
112 rustflags = [
117 rustflags += _rustflags
138 rustflags = []
Drust_target.gni108 if (defined(invoker.rustflags)) {
109 _rustflags += invoker.rustflags
297 rustflags = _rustflags
344 "rustflags",
361 rustflags = _rustflags
363 rustflags += [ "-Cmetadata=${_rustc_metadata}" ]
/external/rust/crates/no-panic/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
35 run: echo RUSTFLAGS=$(RUSTFLAGS)\ --cfg=exhaustive >> $GITHUB_ENV
38 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
60 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
/external/cronet/build/rust/
DBUILD.gn10 rustflags = [ "--edition=2021" ]
14 rustflags = [ "--edition=2018" ]
18 rustflags = [ "--edition=2015" ]
65 rustflags = [
75 rustflags = [
83 rustflags = [ "-Funsafe_code" ]
Drust_unit_test.gni23 # rustflags (optional)
55 _rustflags = invoker.rustflags
102 "rustflags",
112 rustflags = [
117 rustflags += _rustflags
137 rustflags = []
/external/cronet/build/rust/std/rules/
DBUILD.gn41 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 …]
/external/rust/crates/thiserror/.github/workflows/
Dci.yml12 RUSTFLAGS: -Dwarnings
24 rustflags: --cfg thiserror_nightly_testing
34 RUSTFLAGS: ${{matrix.rustflags}} ${{env.RUSTFLAGS}}
/external/rust/crates/async-trait/.github/workflows/
Dci.yml12 RUSTFLAGS: -Dwarnings
29 rustflags: --cfg async_trait_nightly_testing
38 RUSTFLAGS: ${{matrix.rustflags}} ${{env.RUSTFLAGS}}
/external/rust/crates/semver/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
35 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
54 RUSTFLAGS: --cfg test_node_semver ${{env.RUSTFLAGS}}
/external/rust/crates/thiserror/
Dbuild.rs56 // 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()
/external/rust/crates/tokio/
Dbuild.rs137 // 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()
/external/crosvm/tools/
Dbuild_release173 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_generate
180 build_env["RUSTFLAGS"] += " -C profile-use=" + args.profile_use
/external/angle/build/config/win/
DBUILD.gn342 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 …]
/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/anyhow/
Dbuild.rs110 // 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()
/external/pigweed/pw_build/
Drust_library.gni50 if (!defined(rustflags)) {
51 rustflags = []
55 rustflags += [ "--cfg=feature=\"${i}\"" ]
/external/rust/crates/rustversion/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
35 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
/external/rust/crates/ryu/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
35 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
/external/rust/beto-rust/nearby/presence/ldt_np_adv_ffi/.cargo/
Dconfig.toml2 rustflags = [
7 rustflags = [

12345