From 490b2c03abff58416de7f694e9f94af929e8653d Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Sun, 27 Mar 2022 19:15:53 +0200 Subject: Rust: fix command to install cxxbridge --- xmake/rules/rust/build/cxxbridge.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.3.1