Searched refs:RustTool (Results 1 – 10 of 10) sorted by relevance
10 const char* RustTool::kRsToolBin = "rust_bin";11 const char* RustTool::kRsToolCDylib = "rust_cdylib";12 const char* RustTool::kRsToolDylib = "rust_dylib";13 const char* RustTool::kRsToolMacro = "rust_macro";14 const char* RustTool::kRsToolRlib = "rust_rlib";15 const char* RustTool::kRsToolStaticlib = "rust_staticlib";17 RustTool::RustTool(const char* n) : Tool(n) { in RustTool() function in RustTool26 RustTool::~RustTool() = default;28 RustTool* RustTool::AsRust() { in AsRust()31 const RustTool* RustTool::AsRust() const { in AsRust()[all …]
49 RustTool* Tool::AsRust() { in AsRust()52 const RustTool* Tool::AsRust() const { in AsRust()248 if (RustTool* rust_tool = tool->AsRust()) { in CreateTool()301 else if (name == RustTool::kRsToolBin) in CreateTool()302 return std::make_unique<RustTool>(RustTool::kRsToolBin); in CreateTool()303 else if (name == RustTool::kRsToolCDylib) in CreateTool()304 return std::make_unique<RustTool>(RustTool::kRsToolCDylib); in CreateTool()305 else if (name == RustTool::kRsToolDylib) in CreateTool()306 return std::make_unique<RustTool>(RustTool::kRsToolDylib); in CreateTool()307 else if (name == RustTool::kRsToolMacro) in CreateTool()[all …]
21 class RustTool : public Tool {31 explicit RustTool(const char* n);32 ~RustTool();42 RustTool* AsRust() override;43 const RustTool* AsRust() const override;56 RustTool(const RustTool&) = delete;57 RustTool& operator=(const RustTool&) = delete;
65 RustTool* GetToolAsRust(const char* name);66 const RustTool* GetToolAsRust(const char* name) const;99 const RustTool* GetToolForSourceTypeAsRust(SourceFile::Type type) const;110 const RustTool* GetToolForTargetFinalOutputAsRust(const Target* target) const;
82 RustTool* Toolchain::GetToolAsRust(const char* name) { in GetToolAsRust()89 const RustTool* Toolchain::GetToolAsRust(const char* name) const { in GetToolAsRust()138 const RustTool* Toolchain::GetToolForSourceTypeAsRust( in GetToolForSourceTypeAsRust()162 const RustTool* Toolchain::GetToolForTargetFinalOutputAsRust( in GetToolForTargetFinalOutputAsRust()
224 std::unique_ptr<Tool> rustc_tool = Tool::CreateTool(RustTool::kRsToolBin); in SetupToolchain()246 std::unique_ptr<Tool> cdylib_tool = Tool::CreateTool(RustTool::kRsToolCDylib); in SetupToolchain()259 std::unique_ptr<Tool> dylib_tool = Tool::CreateTool(RustTool::kRsToolDylib); in SetupToolchain()273 Tool::CreateTool(RustTool::kRsToolMacro); in SetupToolchain()286 std::unique_ptr<Tool> rlib_tool = Tool::CreateTool(RustTool::kRsToolRlib); in SetupToolchain()300 Tool::CreateTool(RustTool::kRsToolStaticlib); in SetupToolchain()
25 class RustTool; variable64 virtual RustTool* AsRust();65 virtual const RustTool* AsRust() const;
42 const RustTool* tool_;
325 std::string_view(RustTool::kRsToolMacro)) { in AddTarget()332 std::string_view(RustTool::kRsToolMacro)) { in AddTarget()
111 const Tool* rust = toolchain->GetTool(RustTool::kRsToolBin); in TEST_F()