summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/rustc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/rustc.lua')
-rw-r--r--xmake/modules/core/tools/rustc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua
index 0af2acdd9..ade2daea4 100644
--- a/xmake/modules/core/tools/rustc.lua
+++ b/xmake/modules/core/tools/rustc.lua
@@ -72,7 +72,7 @@ end
-- make the linkdir flag
function nf_linkdir(self, dir)
- return "-L" .. os.args(dir)
+ return {"-L" .. dir}
end
-- make the build arguments list