Support multi byte characters in module names (#7916)
This commit is contained in:
parent
a55f49a7b4
commit
eb8f15d97c
3 changed files with 10 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ proc nimcacheDir(filename, options: string, target: TTarget): string =
|
|||
proc callCompiler(cmdTemplate, filename, options: string,
|
||||
target: TTarget, extraOptions=""): TSpec =
|
||||
let nimcache = nimcacheDir(filename, options, target)
|
||||
let options = options & " --nimCache:" & nimcache.quoteShell & extraOptions
|
||||
let options = options & " " & ("--nimCache:" & nimcache).quoteShell & extraOptions
|
||||
let c = parseCmdLine(cmdTemplate % ["target", targetToCmd[target],
|
||||
"options", options, "file", filename.quoteShell,
|
||||
"filedir", filename.getFileDir()])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue