summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rustc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-08 23:04:58 +0800
committerruki <[email protected]>2018-11-08 12:29:51 +0800
commitd41f7ae50ae262ed3017c3713db50b79985e28e8 (patch)
tree863972e659aabdc8db58d9f0831c78e70fd3da32 /xmake/modules/core/tools/rustc.lua
parentda5ba0608b0db673077d30951b7227ed42a69dca (diff)
fix rust links bug
Diffstat (limited to 'xmake/modules/core/tools/rustc.lua')
-rw-r--r--xmake/modules/core/tools/rustc.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua
index 537175c93..8df967401 100644
--- a/xmake/modules/core/tools/rustc.lua
+++ b/xmake/modules/core/tools/rustc.lua
@@ -93,11 +93,6 @@ function nf_linkdir(self, dir)
return "-L" .. os.args(dir)
end
--- make the link flag
-function nf_link(self, lib)
- return "-l" .. lib
-end
-
-- make the build arguments list
function buildargv(self, sourcefiles, targetkind, targetfile, flags)
return self:program(), table.join(flags, "-o", targetfile, sourcefiles)