Searched refs:crate_root (Results 1 – 8 of 8) sorted by relevance
/third_party/gn/src/gn/ |
D | functions_target_rust_unittest.cc | 67 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()
|
D | rust_variables.cc | 81 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
|
D | rust_values.h | 44 const SourceFile& crate_root() const { return crate_root_; } in crate_root() function
|
D | rust_project_writer.cc | 288 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()
|
D | ninja_rust_binary_target_writer.cc | 202 WriteCompilerBuildLine({target_->rust_values().crate_root()}, in Run()
|
D | desc_builder.cc | 341 RenderValue(target_->rust_values().crate_root())); in BuildDescription()
|
/third_party/gn/examples/rust_example/hello_world/bar/src/ |
D | BUILD.gn | 2 crate_root = "lib.rs"
|
/third_party/gn/docs/ |
D | reference.md | 115 * [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
|