mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 13:07:48 +00:00
ref https://github.com/nim-lang/nightlies/actions/runs/5970369118/job/16197865657
> /home/runner/work/nightlies/nightlies/nim/lib/pure/os.nim(678, 30) Error: getApplOpenBsd() can raise an unlisted exception: ref OSError
(cherry picked from commit 1fcb53cded)
This commit is contained in:
@@ -675,7 +675,7 @@ proc getAppFilename*(): string {.rtl, extern: "nos$1", tags: [ReadIOEffect], noW
|
||||
elif defined(haiku):
|
||||
result = getApplHaiku()
|
||||
elif defined(openbsd):
|
||||
result = getApplOpenBsd()
|
||||
result = try: getApplOpenBsd() except OSError: ""
|
||||
elif defined(nintendoswitch):
|
||||
result = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user