summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2022-03-27 19:15:53 +0200
committerGitHub <[email protected]>2022-03-27 19:15:53 +0200
commit490b2c03abff58416de7f694e9f94af929e8653d (patch)
tree3ace372d580c109acfe06dfb727f6fc4f734f103
parent4905f769cc153c7a1ddcb4f23f71805cfc01503b (diff)
Rust: fix command to install cxxbridge
-rw-r--r--xmake/rules/rust/build/cxxbridge.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/rust/build/cxxbridge.lua b/xmake/rules/rust/build/cxxbridge.lua
index 1fc9b3778..735018e87 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, please run `cargo install cxxbridge` to install it first!")
+ local cxxbridge = assert(find_tool("cxxbridge"), "cxxbridge not found, please run `cargo install cxxbridge-cmd` to install it first!")
-- get c/c++ source file for cxxbridge
local headerfile = path.join(target:autogendir(), "rules", "cxxbridge", path.basename(sourcefile) .. ".rs.h")