We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f886d8 commit e0b4e4eCopy full SHA for e0b4e4e
xmake/modules/core/tools/rustc/target_triple.lua
@@ -45,9 +45,9 @@ end
45
function _translate_plat(plat, arch, opt)
46
if plat == "windows" then
47
return "-pc-windows-msvc"
48
- elseif plat == "mingw" then
+ elseif plat == "mingw" or plat == "msys" then
49
return "-pc-windows-gnu"
50
- elseif plat == "linux" then
+ elseif plat == "linux" or plat == "cross" then
51
return "-unknown-linux-gnu"
52
elseif plat == "macosx" then
53
return "-apple-darwin"
0 commit comments