diff options
| -rw-r--r-- | xmake/modules/private/tools/rust/check_target.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/tools/rust/check_target.lua b/xmake/modules/private/tools/rust/check_target.lua index 1c213306e..75d68ccf1 100644 --- a/xmake/modules/private/tools/rust/check_target.lua +++ b/xmake/modules/private/tools/rust/check_target.lua @@ -51,6 +51,8 @@ function main(arch, precise) local archs = arch:split("%-") if #archs >= 2 then result = true + else + utils.warning("The arch \"%s\" is NOT a valid target triple, will be IGNORED and may cause compilation errors. please check it again", arch) end -- 2: check by rustc |
