diff options
| author | ruki <[email protected]> | 2021-11-11 21:00:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-11-11 21:00:09 +0800 |
| commit | d4de88729159b7c331b3b268fdcc67627e9678d4 (patch) | |
| tree | 6d2adb778e484b6bc05a39d63e77559258e88454 /xmake/rules/rust/xmake.lua | |
| parent | bd26b472129bc61043a69ffecbddabbd83eb0650 (diff) | |
rename to .rsx
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) |
