mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-20 11:30:43 +00:00
Fix unhandled exception that raised when nim was executed with --cc:vcc option (#10356)
This commit is contained in:
@@ -44,4 +44,4 @@ proc vccEnvVcVarsAllPath*(version: VccEnvVersion = vsUndefined): string =
|
||||
let key = $version
|
||||
let val = getEnv key
|
||||
if val.len > 0:
|
||||
result = expandFilename(val & vcvarsallRelativePath)
|
||||
result = try: expandFilename(val & vcvarsallRelativePath) except OSError: ""
|
||||
|
||||
Reference in New Issue
Block a user