Home
last modified time | relevance | path

Searched refs:rustflags (Results 1 – 11 of 11) sorted by relevance

/third_party/gn/src/gn/
Drust_project_writer_helpers_unittest.cc314 target.config_values().rustflags().push_back("--cfg=feature=\"foo_enabled\""); in TEST_F()
315 target.config_values().rustflags().push_back("--target"); in TEST_F()
316 target.config_values().rustflags().push_back("x86-someos"); in TEST_F()
317 target.config_values().rustflags().push_back("--edition=2018"); in TEST_F()
336 target.config_values().rustflags().push_back( in TEST_F()
338 target.config_values().rustflags().push_back("x86-someos"); in TEST_F()
339 target.config_values().rustflags().push_back("--edition=2018"); in TEST_F()
358 target.config_values().rustflags().push_back("--cfg=feature=\"foo_enabled\""); in TEST_F()
359 target.config_values().rustflags().push_back("--edition=2018"); in TEST_F()
360 target.config_values().rustflags().push_back("--target"); in TEST_F()
[all …]
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()
Drust_project_writer.cc113 auto rustflags = iter.cur().rustflags(); in ExtractCompilerArgs() local
114 for (auto flag_iter = rustflags.begin(); flag_iter != rustflags.end(); in ExtractCompilerArgs()
Dfunctions_target_rust_unittest.cc219 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()
Dconfig_values.h50 STRING_VALUES_ACCESSOR(rustflags) in STRING_VALUES_ACCESSOR()
Dfunction_toolchain_unittest.cc96 …command = "{{rustenv}} rustc --crate-name {{crate_name}} --crate-type bin {{rustflags}} -o {{outpu… in TEST_F()
Dconfig_values_generator.cc107 FILL_STRING_CONFIG_VALUE(rustflags) in Run()
Dninja_target_writer.cc354 &ConfigValues::rustflags, opts, path_output_, out_, true, in WriteRustCompilerVars()
Ddesc_builder.cc514 CONFIG_VALUE_ARRAY_HANDLER(rustflags, std::string, in BuildDescription()
/third_party/gn/examples/rust_example/build/
DBUILD.gn5 …{crate_type}} --emit=dep-info=$depfile,link -Z dep-info-omit-d-target {{rustflags}} -o $outfile {{…
13 …{crate_type}} --emit=dep-info=$depfile,link -Z dep-info-omit-d-target {{rustflags}} -o $outfile {{…
21 …{crate_type}} --emit=dep-info=$depfile,link -Z dep-info-omit-d-target {{rustflags}} -o $outfile {{…
29 …{crate_type}} --emit=dep-info=$depfile,link -Z dep-info-omit-d-target {{rustflags}} -o $outfile {{…
46 rustflags = [ "-Cdebuginfo=2" ]
/third_party/gn/docs/
Dreference.md1366 outputs*, pool, response_file_contents, rustenv, rustflags, script*, sources,
1458 outputs*, pool, response_file_contents, rustenv, rustflags, script*, sources,
1747 libs, precompiled_header, precompiled_source, rustflags,
1941 libs, precompiled_header, precompiled_source, rustflags,
1973 libs, precompiled_header, precompiled_source, rustflags,
2008 libs, precompiled_header, precompiled_source, rustflags,
2042 libs, precompiled_header, precompiled_source, rustflags,
2087 libs, precompiled_header, precompiled_source, rustflags,
2111 libs, precompiled_header, precompiled_source, rustflags,
2220 libs, precompiled_header, precompiled_source, rustflags,
[all …]