diff options
| author | ruki <[email protected]> | 2018-11-08 23:04:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-08 12:29:51 +0800 |
| commit | d41f7ae50ae262ed3017c3713db50b79985e28e8 (patch) | |
| tree | 863972e659aabdc8db58d9f0831c78e70fd3da32 /xmake/modules/core/tools/rustc.lua | |
| parent | da5ba0608b0db673077d30951b7227ed42a69dca (diff) | |
fix rust links bug
Diffstat (limited to 'xmake/modules/core/tools/rustc.lua')
| -rw-r--r-- | xmake/modules/core/tools/rustc.lua | 5 |
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) |
