Home
last modified time | relevance | path

Searched refs:rustflags (Results 1 - 17 of 17) sorted by relevance

/third_party/gn/src/gn/
H A Drust_project_writer_helpers_unittest.cc132 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 Drust_project_writer_unittest.cc40 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 Drust_variables.cc98 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 Drust_project_writer.cc114 auto rustflags = iter.cur().rustflags(); in ExtractCompilerArgs() local
115 for (auto flag_iter = rustflags.begin(); flag_iter != rustflags.end(); in ExtractCompilerArgs()
H A Dfunctions_target_rust_unittest.cc211 " 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 Dconfig_values.h50 STRING_VALUES_ACCESSOR(rustflags)
H A Dconfig_values_generator.cc107 FILL_STRING_CONFIG_VALUE(rustflags) in Run()
H A Dfunction_toolchain_unittest.cc96 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 Ddesc_builder.cc49 // "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 Dinnerapis_publicinfo_generator.cc196 info += GetSingleFlagInfo("rustflags", config->own_values().rustflags(), label, needSetToConfigs); in GetFlagsInfo()
H A Dninja_target_writer.cc423 &ConfigValues::rustflags, opts, path_output_, out_, true, in WriteRustCompilerVars()
H A Dfunction_toolchain.cc857 {{rustflags}}
/third_party/rust/crates/autocfg/src/
H A Dlib.rs89 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 Dbuild.rs58 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 Dbuild.rs67 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 Dbuild.rs169 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 Dbuild.rs207 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()

Completed in 12 milliseconds