summaryrefslogtreecommitdiff
path: root/xmake/toolchains/rust/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-19 00:43:10 +0800
committerruki <[email protected]>2025-09-19 00:43:10 +0800
commit90e422afa7a4f209ccf8e45e8ec4c54a70456d90 (patch)
tree0d7140cc3c44b68c099c7f13970e74b7125fcfab /xmake/toolchains/rust/xmake.lua
parent47f7c581cc8daacdd109aeed3c007d908bc9ea42 (diff)
improve find_tool
Diffstat (limited to 'xmake/toolchains/rust/xmake.lua')
-rw-r--r--xmake/toolchains/rust/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/rust/xmake.lua b/xmake/toolchains/rust/xmake.lua
index 76bc64923..3baa998bb 100644
--- a/xmake/toolchains/rust/xmake.lua
+++ b/xmake/toolchains/rust/xmake.lua
@@ -34,7 +34,7 @@ toolchain("rust")
if toolchain:config("appledev") == "simulator" then
opt.apple_sim = true
end
-
+
local target = target_triple(toolchain:plat(), toolchain:arch(), opt)
if target then
toolchain:add("rcflags", "--target=" .. target)