diff options
Diffstat (limited to 'xmake/rules/rust/xmake.lua')
| -rw-r--r-- | xmake/rules/rust/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/rust/xmake.lua b/xmake/rules/rust/xmake.lua index 08fcf11f0..51e27fcc8 100644 --- a/xmake/rules/rust/xmake.lua +++ b/xmake/rules/rust/xmake.lua @@ -21,8 +21,8 @@ -- generate bridge.rs.cc/h to call rust library in c++ code -- @see https://cxx.rs/build/other.html rule("rust.cxxbridge") - set_extensions(".rs") - before_build_file(function (target, sourcefile, opt) + set_extensions(".rsx") + before_buildcmd_file(function (target, batchcmds, sourcefile, opt) print(sourcefile) end) |
