diff options
| -rw-r--r-- | xmake/platforms/linux/check.lua | 3 | ||||
| -rw-r--r-- | xmake/platforms/macosx/check.lua | 3 | ||||
| -rw-r--r-- | xmake/platforms/windows/check.lua | 5 |
3 files changed, 10 insertions, 1 deletions
diff --git a/xmake/platforms/linux/check.lua b/xmake/platforms/linux/check.lua index 4dc2f8c40..e7faa5154 100644 --- a/xmake/platforms/linux/check.lua +++ b/xmake/platforms/linux/check.lua @@ -121,6 +121,9 @@ function _check_toolchains(config) -- check for rust tools checker.check_toolchain(config, "rc", "", "rustc", "the rust compiler") + checker.check_toolchain(config, "rc-ar", "", "rustc", "the rust static library archiver") + checker.check_toolchain(config, "rc-sh", "", "rustc", "the rust shared library linker") + checker.check_toolchain(config, "rc-ld", "", "rustc", "the rust linker") end -- check it diff --git a/xmake/platforms/macosx/check.lua b/xmake/platforms/macosx/check.lua index f4f247a07..92af39162 100644 --- a/xmake/platforms/macosx/check.lua +++ b/xmake/platforms/macosx/check.lua @@ -78,6 +78,9 @@ function _check_toolchains(config) -- check for rust tools checker.check_toolchain(config, "rc", "", "rustc", "the rust compiler") + checker.check_toolchain(config, "rc-ar", "", "rustc", "the rust static library archiver") + checker.check_toolchain(config, "rc-sh", "", "rustc", "the rust shared library linker") + checker.check_toolchain(config, "rc-ld", "", "rustc", "the rust linker") end -- check it diff --git a/xmake/platforms/windows/check.lua b/xmake/platforms/windows/check.lua index 4a7955ecc..63c557cf2 100644 --- a/xmake/platforms/windows/check.lua +++ b/xmake/platforms/windows/check.lua @@ -228,7 +228,10 @@ function _check_toolchains(config) checker.check_toolchain(config, "dc-ld", "", "gdc", "the dlang linker") -- check for rust tools - checker.check_toolchain(config, "rc", "", "rustc", "the rust compiler") + checker.check_toolchain(config, "rc", "", "rustc", "the rust compiler") + checker.check_toolchain(config, "rc-ar", "", "rustc", "the rust static library archiver") + checker.check_toolchain(config, "rc-sh", "", "rustc", "the rust shared library linker") + checker.check_toolchain(config, "rc-ld", "", "rustc", "the rust linker") end -- check the debugger |
