diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2022-03-31 16:06:13 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 21:06:13 +0200 |
commit | 49844415ce829cb627d0b02dd6b057a1574f44d6 (patch) | |
tree | 004095b59d00d9cecac4365604fe29eac14cc3d6 /lib/system | |
parent | eae29e8eafded41ce966c131bff5e66964354805 (diff) | |
download | Nim-49844415ce829cb627d0b02dd6b057a1574f44d6.tar.gz |
Deprecate selfExe (#19660)
* Deprecate selfExe Nimscript * Deprecate selfExe Nimscript
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/nimscript.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/system/nimscript.nim b/lib/system/nimscript.nim index 0ef5fc584..5d1916c7f 100644 --- a/lib/system/nimscript.nim +++ b/lib/system/nimscript.nim @@ -136,9 +136,8 @@ proc dirExists*(dir: string): bool {. ## Checks if the directory `dir` exists. builtin -proc selfExe*(): string = +proc selfExe*(): string {.deprecated: "Deprecated since v1.7; Use getCurrentCompilerExe".} = ## Returns the currently running nim or nimble executable. - # TODO: consider making this as deprecated alias of `getCurrentCompilerExe` builtin proc toExe*(filename: string): string = |