Home
last modified time | relevance | path

Searched refs:crate_root (Results 1 – 8 of 8) sorted by relevance

/third_party/gn/src/gn/
Dfunctions_target_rust_unittest.cc67 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
81 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
93 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
105 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
117 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
140 item_collector.back()->AsTarget()->rust_values().crate_root().value(), in TEST_F()
Drust_variables.cc81 const char kRustCrateRoot[] = "crate_root";
83 "crate_root: [string] The root source file for a binary or library.";
85 R"(crate_root: [string] The root source file for a binary or library.
93 If crate_root is not set, then this rule will look for a lib.rs file (or
Drust_values.h44 const SourceFile& crate_root() const { return crate_root_; } in crate_root() function
Drust_project_writer.cc288 SourceFile crate_root = target->rust_values().crate_root(); in AddTarget() local
299 Crate crate = Crate(crate_root, gen_dir, crate_id, crate_label, in AddTarget()
Dninja_rust_binary_target_writer.cc202 WriteCompilerBuildLine({target_->rust_values().crate_root()}, in Run()
Ddesc_builder.cc341 RenderValue(target_->rust_values().crate_root())); in BuildDescription()
/third_party/gn/examples/rust_example/hello_world/bar/src/
DBUILD.gn2 crate_root = "lib.rs"
/third_party/gn/docs/
Dreference.md115 * [crate_root: [string] The root source file for a binary or library.](#var_crate_root)
1754 Rust variables: aliased_deps, crate_root, crate_name
1948 Rust variables: aliased_deps, crate_root, crate_name, crate_type
1980 Rust variables: aliased_deps, crate_root, crate_name
2015 Rust variables: aliased_deps, crate_root, crate_name
2049 Rust variables: aliased_deps, crate_root, crate_name, crate_type
2118 Rust variables: aliased_deps, crate_root, crate_name
5265 ### <a name="var_crate_root"></a>**crate_root**: [string] The root source file for a binary or libr…
5274 If crate_root is not set, then this rule will look for a lib.rs file (or
6438 For Rust targets that do not specify a crate_root, then the crate_root will