summaryrefslogtreecommitdiff
path: root/xmake/rules/rust/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/rust/xmake.lua')
-rw-r--r--xmake/rules/rust/xmake.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/rules/rust/xmake.lua b/xmake/rules/rust/xmake.lua
index 51e27fcc8..b3599e43b 100644
--- a/xmake/rules/rust/xmake.lua
+++ b/xmake/rules/rust/xmake.lua
@@ -22,9 +22,7 @@
-- @see https://cxx.rs/build/other.html
rule("rust.cxxbridge")
set_extensions(".rsx")
- before_buildcmd_file(function (target, batchcmds, sourcefile, opt)
- print(sourcefile)
- end)
+ before_buildcmd_file("build.cxxbridge")
-- define rule: rust.build
rule("rust.build")