summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rustc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-08-03 22:44:03 +0800
committerruki <[email protected]>2018-08-03 10:24:22 +0800
commit2a7d3704912245a2433d1071679f4253d96069c0 (patch)
treeed1875738fa7bb2e39118b7a046b94c96debfe41 /xmake/modules/core/tools/rustc.lua
parent5aa5ddbdaa2c026d65fcb17e5e36ac4995032a8b (diff)
modify format
Diffstat (limited to 'xmake/modules/core/tools/rustc.lua')
-rw-r--r--xmake/modules/core/tools/rustc.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua
index 7be852edd..8df967401 100644
--- a/xmake/modules/core/tools/rustc.lua
+++ b/xmake/modules/core/tools/rustc.lua
@@ -40,8 +40,7 @@ function init(self)
_g.ldflags = { "--crate-type=bin" }
-- init the file formats
- _g.formats = {}
- _g.formats.static = {"lib", ".rlib"}
+ _g.formats = { static = "lib$(name).rlib" }
-- init buildmodes
_g.buildmodes =