Lines Matching +full:build +full:- +full:std
2 # Use of this source code is governed by a BSD-style license that can be
5 # Provides per-crate and overall configuration options to gnrt.
8 # force-unstable-if-unmarked prevents normal crates from inadvertently using
9 # symbols from std-internal dependencies in the sysroot. This is normally passed
10 # during an x.py build, but we have to do it manually.
11 rustflags = ['-Zforce-unstable-if-unmarked']
13 # Override the GN output dir. We direct std targets to output directly to the
15 # //build/rust/std/BUILD.gn
18 # This target provides setup needed for building std.
19 extra_gn_deps = ['//build/rust/std:std_build_deps']
22 # Many flags are set by libc's build.rs based on new enough rustc but we don't
23 # run build scripts for std crates.
24 # See https://github.com/rust-lang/libc/blob/master/build.rs
31 [crate.std]
35 # implementation has special-purpose code to handle this.
36 # * STD_ENV_ARCH is referenced in architecture-dependent code. Note this is the
38 # variable is set at build time in build/config/rust.gni
40 # See https://github.com/rust-lang/rust/blob/master/library/std/build.rs
49 # test only depends on proc_macro as an internal detail of the Rust build, so
50 # it's implicitly included with std/test. However, we list the std crates and
52 # it during cross-compiles (since we will only build host proc_macro crates).
57 # either get that automatically by linking with clang++, or build and link the
58 # lib from //buildtools/third_party/libunsind explicitly. Disable -lfoo linker
60 rustflags = ['-Zlink-directives=false']