mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 00:41:28 +00:00
* fix #9629 every binary cmd line option allows on/off/empty=on * workaround refs #10359
This commit is contained in:
committed by
Andreas Rumpf
parent
4b4e4fc029
commit
27e2ed4375
@@ -121,7 +121,10 @@ else:
|
||||
|
||||
block: # fix #9842
|
||||
let exe = buildDir / "D20190112T145450".addFileExt(ExeExt)
|
||||
defer: removeFile exe
|
||||
defer:
|
||||
when not defined(windows):
|
||||
# workaround #10359 ; innocuous to skip since we're saving under `buildDir`
|
||||
removeFile exe
|
||||
let args = @["a1b", "a2 b", "", "a4\"b", "a5'b", r"a6\b", "a7\'b"]
|
||||
let cmd = "$# c -r --verbosity:0 -o:$# -d:testament_tparseopt $# $#" %
|
||||
[getCurrentCompilerExe(), exe, currentSourcePath(),
|
||||
|
||||
Reference in New Issue
Block a user