diff options
| author | ruki <[email protected]> | 2021-11-11 21:00:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-11-11 21:00:59 +0800 |
| commit | cf9d3bacd0b0d47946e517dae67800fa7b8f3e1e (patch) | |
| tree | 7200891da8490e152d56ade0077b893eeb186fa4 /xmake/rules/rust/xmake.lua | |
| parent | d4de88729159b7c331b3b268fdcc67627e9678d4 (diff) | |
add find_cxxbridge
Diffstat (limited to 'xmake/rules/rust/xmake.lua')
| -rw-r--r-- | xmake/rules/rust/xmake.lua | 4 |
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") |
