/third_party/gn/src/gn/ |
H A D | rust_project_writer_helpers_unittest.cc | 132 target.config_values().rustflags().push_back("--cfg=feature=\"foo_enabled\""); in TEST_F() 133 target.config_values().rustflags().push_back("--target"); in TEST_F() 134 target.config_values().rustflags().push_back("x86-someos"); in TEST_F() 135 target.config_values().rustflags().push_back("--edition=2018"); in TEST_F() 154 target.config_values().rustflags().push_back( in TEST_F() 156 target.config_values().rustflags().push_back("x86-someos"); in TEST_F() 157 target.config_values().rustflags().push_back("--edition=2018"); in TEST_F() 176 target.config_values().rustflags().push_back("--cfg=feature=\"foo_enabled\""); in TEST_F() 177 target.config_values().rustflags().push_back("--edition=2018"); in TEST_F() 178 target.config_values().rustflags() in TEST_F() [all...] |
H A D | rust_project_writer_unittest.cc | 40 target.config_values().rustflags().push_back("--cfg=feature=\"foo_enabled\""); in TEST_F() 442 target.config_values().rustflags().push_back("--target"); in TEST_F() 443 target.config_values().rustflags().push_back("x86-64_unknown"); in TEST_F() 498 target.config_values().rustflags().push_back("--edition=2018"); in TEST_F() 552 target.config_values().rustflags().push_back("--edition"); in TEST_F() 553 target.config_values().rustflags().push_back("2018"); in TEST_F() 609 target.config_values().rustflags().push_back("--cfg=feature=\"foo_enabled\""); in TEST_F()
|
H A D | rust_variables.cc | 98 const char kRustflags[] = "rustflags"; 100 "rustflags: [string list] Flags passed to the Rust compiler."; 102 R"(rustflags: Flags passed to the Rust compiler. 106 "rustflags" are passed to all invocations of the Rust compiler.
|
H A D | rust_project_writer.cc | 114 auto rustflags = iter.cur().rustflags(); in ExtractCompilerArgs() local 115 for (auto flag_iter = rustflags.begin(); flag_iter != rustflags.end(); in ExtractCompilerArgs()
|
H A D | functions_target_rust_unittest.cc | 211 " rustflags = [ \"-Cdebuginfo=2\" ]\n" in TEST_F() 219 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustflags().size(), in TEST_F() 221 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustflags()[0], in TEST_F() 240 " rustflags = [ \"-Cdebuginfo=2\" ]\n" in TEST_F()
|
H A D | config_values.h | 50 STRING_VALUES_ACCESSOR(rustflags)
|
H A D | config_values_generator.cc | 107 FILL_STRING_CONFIG_VALUE(rustflags) in Run()
|
H A D | function_toolchain_unittest.cc | 96 command = "{{rustenv}} rustc --crate-name {{crate_name}} --crate-type bin {{rustflags}} -o {{output}} {{externs}} {{source}}" in TEST_F() 115 "{{rustflags}} -o {{output}} {{externs}} {{source}}"); in TEST_F()
|
H A D | desc_builder.cc | 49 // "rustflags" : [ list of flags], 285 CONFIG_VALUE_ARRAY_HANDLER(rustflags, std::string) in BuildDescription() 516 CONFIG_VALUE_ARRAY_HANDLER(rustflags, std::string, in BuildDescription()
|
H A D | innerapis_publicinfo_generator.cc | 196 info += GetSingleFlagInfo("rustflags", config->own_values().rustflags(), label, needSetToConfigs);
in GetFlagsInfo()
|
H A D | ninja_target_writer.cc | 423 &ConfigValues::rustflags, opts, path_output_, out_, true, in WriteRustCompilerVars()
|
H A D | function_toolchain.cc | 857 {{rustflags}}
|
/third_party/rust/crates/autocfg/src/ |
H A D | lib.rs | 89 rustflags: Vec<String>, 170 rustflags: rustflags(&target, &dir), in with_dir() 223 command.args(&self.rustflags); in probe() 414 fn rustflags(target: &Option<OsString>, dir: &Path) -> Vec<String> { in rustflags() functions 440 if let Ok(rustflags) = env::var("RUSTFLAGS") { in rustflags() 443 return rustflags in rustflags()
|
/third_party/rust/crates/syn/ |
H A D | build.rs | 58 if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") { in unstable() 59 if !rustflags.is_empty() { in unstable() 60 for arg in rustflags.split('\x1f') { in unstable()
|
/third_party/rust/crates/io-lifetimes/ |
H A D | build.rs | 67 if let Ok(rustflags) = var("CARGO_ENCODED_RUSTFLAGS") { in can_compile() 68 if !rustflags.is_empty() { in can_compile() 69 for arg in rustflags.split('\x1f') { in can_compile()
|
/third_party/rust/crates/proc-macro2/ |
H A D | build.rs | 169 if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") { in compile_probe() 170 if !rustflags.is_empty() { in compile_probe() 171 for arg in rustflags.split('\x1f') { in compile_probe()
|
/third_party/rust/crates/rustix/ |
H A D | build.rs | 207 if let Ok(rustflags) = var("CARGO_ENCODED_RUSTFLAGS") { in can_compile() 208 if !rustflags.is_empty() { in can_compile() 209 for arg in rustflags.split('\x1f') { in can_compile()
|