Searched refs:crate_type (Results 1 – 25 of 71) sorted by relevance
123
45 std::string crate_type; in WriteCrateVars() local46 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 …]
28 CrateType crate_type = target->rust_values().crate_type(); in InferredCrateType() local29 if (crate_type != CRATE_AUTO) { in InferredCrateType()30 return crate_type; in InferredCrateType()
57 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.
48 CrateType crate_type() const { return crate_type_; } in crate_type() function
5 …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…
18 crate_type = "rlib"47 crate_type = "bin"
3 #![crate_type="cdylib"]
18 crate_type = "rlib"
20 crate_type = "rlib"