summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-22 10:59:23 +0800
committerruki <[email protected]>2017-05-22 10:59:23 +0800
commit302dd6c577cc54e25c9b33033db2a7fdcce40e7d (patch)
treeed4fc28011959314745d7eb1271b13581a488e8f
parentd57785f28f0c782dad8b089c96c009d801c2c65e (diff)
fix compile rust error in debug mode
-rw-r--r--xmake/tools/rustc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/tools/rustc.lua b/xmake/tools/rustc.lua
index 5727544d2..44e117d3f 100644
--- a/xmake/tools/rustc.lua
+++ b/xmake/tools/rustc.lua
@@ -91,7 +91,7 @@ function nf_symbol(level)
-- the maps
local maps =
{
- debug = "-C debug-info=2"
+ debug = "-C debuginfo=2"
, hidden = ""
}