diff options
| author | ruki <[email protected]> | 2019-09-04 10:09:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-04 10:09:50 +0800 |
| commit | 1a1eac4f9e099eed250d72f309cf479efbb15a1c (patch) | |
| tree | bd0341661b3db9fc2f557b6b4186d5193671371d /xmake/modules/core/tools/rustc.lua | |
| parent | c97ee9d0ba48ac615caa9f239436645bc2e0af5a (diff) | |
| parent | 3d72809db048911efec3d52106dd6968349ef4d1 (diff) | |
Merge pull request #563 from xmake-io/buildrules
Separate build rules for specific language files from action/build
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 |
