From d021df166bfd45c2d18ae6fa39cd685006491d01 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 16 May 2020 10:59:10 +0800 Subject: rename dlang, rust, swift, go ldflags --- xmake/modules/core/tools/rustc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/modules/core/tools/rustc.lua') diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua index 227c6ad43..0ec83c803 100644 --- a/xmake/modules/core/tools/rustc.lua +++ b/xmake/modules/core/tools/rustc.lua @@ -27,13 +27,13 @@ import("core.project.project") function init(self) -- init arflags - self:set("rc-arflags", "--crate-type=lib") + self:set("rcarflags", "--crate-type=lib") -- init shflags - self:set("rc-shflags", "--crate-type=dylib") + self:set("rcshflags", "--crate-type=dylib") -- init ldflags - self:set("rc-ldflags", "--crate-type=bin") + self:set("rcldflags", "--crate-type=bin") -- init the file formats self:set("formats", { static = "lib$(name).rlib" }) -- cgit v1.3.1