Home
last modified time | relevance | path

Searched refs:crate_type (Results 1 – 25 of 71) sorted by relevance

123

/third_party/gn/src/gn/
Dninja_rust_binary_target_writer.cc45 std::string crate_type; in WriteCrateVars() local
46 switch (target->rust_values().crate_type()) { in WriteCrateVars()
51 crate_type = "bin"; in WriteCrateVars()
54 crate_type = "staticlib"; in WriteCrateVars()
57 crate_type = "rlib"; in WriteCrateVars()
60 crate_type = "proc-macro"; in WriteCrateVars()
68 crate_type = "bin"; in WriteCrateVars()
71 crate_type = "cdylib"; in WriteCrateVars()
74 crate_type = "dylib"; in WriteCrateVars()
77 crate_type = "proc-macro"; in WriteCrateVars()
[all …]
Drust_values.cc28 CrateType crate_type = target->rust_values().crate_type(); in InferredCrateType() local
29 if (crate_type != CRATE_AUTO) { in InferredCrateType()
30 return crate_type; in InferredCrateType()
Drust_variables.cc57 const char kRustCrateType[] = "crate_type";
59 "crate_type: [string] The type of linkage to use on a shared_library.";
61 R"(crate_type: [string] The type of linkage to use on a shared_library.
Drust_values.h48 CrateType crate_type() const { return crate_type_; } in crate_type() function
/third_party/gn/examples/rust_example/build/
DBUILD.gn5 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
13 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
21 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
29 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
/third_party/rust/crates/clap/
DBUILD.gn18 crate_type = "rlib"
47 crate_type = "bin"
/third_party/rust/crates/libloading/src/
Dtest_helpers.rs3 #![crate_type="cdylib"]
/third_party/rust/crates/glob/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/termcolor/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/autocfg/
DBUILD.gn20 crate_type = "rlib"
/third_party/rust/crates/either/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/rustc-hash/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/pin-utils/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/bitflags/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/minimal-lexical/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/static-assertions-rs/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/humantime/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/libc/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/os_str_bytes/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/unicode-width/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/clap/clap_lex/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/foreign-types/foreign-types-shared/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/heck/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/version_check/
DBUILD.gn18 crate_type = "rlib"
/third_party/rust/crates/once_cell/
DBUILD.gn18 crate_type = "rlib"

123