summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rustc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/rustc.lua')
-rw-r--r--xmake/modules/core/tools/rustc.lua9
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