Skip to content

Commit 66084a5

Browse files
authored
Merge pull request #6431 from SirLynix/patch-18
target_triple: remove cross
2 parents d9ec3d3 + 1e2a354 commit 66084a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/core/tools/rustc/target_triple.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function _translate_plat(plat, arch, opt)
4747
return "-pc-windows-msvc"
4848
elseif plat == "mingw" or plat == "msys" then
4949
return "-pc-windows-gnu"
50-
elseif plat == "linux" or plat == "cross" then
50+
elseif plat == "linux" then
5151
return "-unknown-linux-gnu"
5252
elseif plat == "macosx" then
5353
return "-apple-darwin"

0 commit comments

Comments
 (0)