diff options
| author | ruki <[email protected]> | 2017-07-14 22:05:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-14 22:05:03 +0800 |
| commit | c3576499ce8251ce6bf8610eb7b2b67d3e34a61b (patch) | |
| tree | d8a7167d73d2e6f39c0446d6d02652e0e1ac21f3 /xmake/modules/core/tools/rustc.lua | |
| parent | ff2e7977ac754b4c3a996b5558d8c5068d7c4bf5 (diff) | |
rename feature to buildmode
Diffstat (limited to 'xmake/modules/core/tools/rustc.lua')
| -rw-r--r-- | xmake/modules/core/tools/rustc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua index 6e102f69d..4ef749b07 100644 --- a/xmake/modules/core/tools/rustc.lua +++ b/xmake/modules/core/tools/rustc.lua @@ -43,8 +43,8 @@ function init(self) _g.formats = {} _g.formats.static = {"lib", ".rlib"} - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false -- compile multiple source filess to the single object , ["binary:sources"] = true -- build multiple source files to the binary target file |
