diff options
| author | w568w <[email protected]> | 2023-08-09 11:16:15 +0800 |
|---|---|---|
| committer | w568w <[email protected]> | 2023-08-09 11:16:15 +0800 |
| commit | 12f6131319ee6256e33cc9d50110e791f43552ed (patch) | |
| tree | 9a85b03905b0b7d13c073517ca79a6ff0810d20a /xmake/modules/private/tools/rust/check_target.lua | |
| parent | 75e74ab6f8c89bc4d82cd23b05416141ea6d28c4 (diff) | |
update warning messages in `check_target()`
Diffstat (limited to 'xmake/modules/private/tools/rust/check_target.lua')
| -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 |
