diff options
| author | ruki <[email protected]> | 2019-08-31 22:51:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-31 22:51:59 +0800 |
| commit | f375773b28d671a8d4885ea09e64011106f077f9 (patch) | |
| tree | 463821f1e28bc668252c052ebfd6ef711da3d695 /xmake/modules/core/tools/rustc.lua | |
| parent | d87ef11e59b4c84c13c680d0dd28bd9a93de39d9 (diff) | |
remove buildmodes
Diffstat (limited to 'xmake/modules/core/tools/rustc.lua')
| -rw-r--r-- | xmake/modules/core/tools/rustc.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua index d3fbda362..730815158 100644 --- a/xmake/modules/core/tools/rustc.lua +++ b/xmake/modules/core/tools/rustc.lua @@ -37,15 +37,6 @@ function init(self) -- init the file formats self:set("formats", { static = "lib$(name).rlib" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false -- compile multiple source filess to the single object - , ["binary:sources"] = true -- build multiple source files to the binary target file - , ["static:sources"] = true -- build multiple source files to the static target file - , ["shared:sources"] = true -- build multiple source files to the shared target file - }) end -- make the optimize flag |
