diff options
| author | ruki <[email protected]> | 2020-07-09 22:40:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-07-09 10:02:16 +0800 |
| commit | 40610aec4087b6d86df8e633c905aa7208ea742f (patch) | |
| tree | 91bfdc9b1d8c80051f46a8aa943e62d936208ccd /xmake/modules/detect/tools | |
| parent | 65563d6430e47992c78f5e53d7f771f741fe7c20 (diff) | |
improve zig toolchain
Diffstat (limited to 'xmake/modules/detect/tools')
| -rw-r--r-- | xmake/modules/detect/tools/zig/has_flags.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/zig/has_flags.lua b/xmake/modules/detect/tools/zig/has_flags.lua index 3b1150afb..64661e0d2 100644 --- a/xmake/modules/detect/tools/zig/has_flags.lua +++ b/xmake/modules/detect/tools/zig/has_flags.lua @@ -83,7 +83,7 @@ function _check_try_running(flags, opt, islinker) local sourcefile = path.join(os.tmpdir(), "detect", "zig_has_flags.zig") local objectdir = path.join(os.tmpdir(), "detect", "zig_has_flags") if not os.isfile(sourcefile) then - io.writefile(sourcefile, "pub fn main() !void {\n}") + io.writefile(sourcefile, "pub fn main() !void {}") end -- init argv |
