fix(compile): add /utf-8 flag on win+cl

This commit is contained in:
Christian Clason 2024-04-14 13:47:18 +02:00
parent bfa217af76
commit 497208692f
3 changed files with 8 additions and 7 deletions

View file

@ -91,6 +91,7 @@ function M.select_compiler_args(repo, compiler)
"/Isrc",
repo.files,
"-Os",
"/utf-8",
"/LD",
}
elseif string.match(compiler, "zig$") or string.match(compiler, "zig.exe$") then