diff options
| author | ruki <[email protected]> | 2021-12-05 16:17:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-05 16:17:23 +0800 |
| commit | 373595ff5a55ffa8288f9667096de6b88c5c0dc5 (patch) | |
| tree | 9f9367c29d5b140a5ec48871bfb4cefc59f68587 | |
| parent | 2fd3431a70ce00bf882866404c2d17c7441f701b (diff) | |
Update cxxbridge.lua
| -rw-r--r-- | xmake/rules/rust/build/cxxbridge.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/rust/build/cxxbridge.lua b/xmake/rules/rust/build/cxxbridge.lua index 84b1f7fea..1fc9b3778 100644 --- a/xmake/rules/rust/build/cxxbridge.lua +++ b/xmake/rules/rust/build/cxxbridge.lua @@ -23,7 +23,7 @@ import("core.base.option") import("lib.detect.find_tool") function main(target, batchcmds, sourcefile, opt) - local cxxbridge = assert(find_tool("cxxbridge"), "cxxbridge not found!") + local cxxbridge = assert(find_tool("cxxbridge"), "cxxbridge not found, please run `cargo install cxxbridge` to install it first!") -- get c/c++ source file for cxxbridge local headerfile = path.join(target:autogendir(), "rules", "cxxbridge", path.basename(sourcefile) .. ".rs.h") |
