summaryrefslogtreecommitdiff
path: root/xmake/templates/rust/console/project/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/rust/console/project/xmake.lua')
-rw-r--r--xmake/templates/rust/console/project/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/templates/rust/console/project/xmake.lua b/xmake/templates/rust/console/project/xmake.lua
index e67de58ab..15fafa7f2 100644
--- a/xmake/templates/rust/console/project/xmake.lua
+++ b/xmake/templates/rust/console/project/xmake.lua
@@ -1,9 +1,8 @@
-
-- add modes: debug and release
add_rules("mode.debug", "mode.release")
-- add target
-target("[targetname]")
+target("${TARGETNAME}")
-- set kind
set_kind("binary")
@@ -11,3 +10,4 @@ target("[targetname]")
-- add files
add_files("src/*.rs")
+${FAQ}