mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
fixes #6327
This commit is contained in:
@@ -495,7 +495,8 @@ proc unixToNativePath*(path: string, drive=""): string {.
|
||||
inc(i)
|
||||
|
||||
include "includes/oserr"
|
||||
include "includes/osenv"
|
||||
when not defined(nimscript):
|
||||
include "includes/osenv"
|
||||
|
||||
proc getHomeDir*(): string {.rtl, extern: "nos$1",
|
||||
tags: [ReadEnvEffect, ReadIOEffect].} =
|
||||
|
||||
@@ -22,3 +22,5 @@ task default, "default target":
|
||||
--define: definedefine
|
||||
setCommand "c"
|
||||
|
||||
# bug #6327
|
||||
discard existsEnv("dummy")
|
||||
|
||||
Reference in New Issue
Block a user