summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-23 13:42:08 +0800
committerruki <[email protected]>2017-02-23 13:42:17 +0800
commit009c17b89cd33cf7915f82d0d994233238a6bc4c (patch)
tree3ab555773f156f2e55971a4b1015516fb87cc024 /xmake/platforms/linux/check.lua
parent3ed1f42166dbe310aa245678adfc95a2de1f2f14 (diff)
add rust tools and language
Diffstat (limited to 'xmake/platforms/linux/check.lua')
-rw-r--r--xmake/platforms/linux/check.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/platforms/linux/check.lua b/xmake/platforms/linux/check.lua
index e24235f8f..e7faa5154 100644
--- a/xmake/platforms/linux/check.lua
+++ b/xmake/platforms/linux/check.lua
@@ -118,6 +118,12 @@ function _check_toolchains(config)
checker.check_toolchain(config, "dc-ld", "", "dmd", "the dlang linker")
checker.check_toolchain(config, "dc-ld", "", "ldc2", "the dlang linker")
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-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