diff options
| author | ruki <[email protected]> | 2025-05-13 21:19:07 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-13 21:19:07 +0800 |
| commit | 66084a5009bd7ecd2a71ca89a12a48282c2bdbe4 (patch) | |
| tree | d05b613ecf2b13a0e0e62506e47729fb1e4dd008 | |
| parent | d9ec3d392818740f53438151f531150a352d4426 (diff) | |
| parent | 1e2a3547ac922910605c155866ae7a82d1f27c2a (diff) | |
Merge pull request #6431 from SirLynix/patch-18
target_triple: remove cross
| -rw-r--r-- | xmake/modules/core/tools/rustc/target_triple.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/rustc/target_triple.lua b/xmake/modules/core/tools/rustc/target_triple.lua index ddbf052ea..98bc9cf3c 100644 --- a/xmake/modules/core/tools/rustc/target_triple.lua +++ b/xmake/modules/core/tools/rustc/target_triple.lua @@ -47,7 +47,7 @@ function _translate_plat(plat, arch, opt) return "-pc-windows-msvc" elseif plat == "mingw" or plat == "msys" then return "-pc-windows-gnu" - elseif plat == "linux" or plat == "cross" then + elseif plat == "linux" then return "-unknown-linux-gnu" elseif plat == "macosx" then return "-apple-darwin" |
