summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorJuan Carlos <juancarlospaco@gmail.com>2022-03-31 16:06:13 -0300
committerGitHub <noreply@github.com>2022-03-31 21:06:13 +0200
commit49844415ce829cb627d0b02dd6b057a1574f44d6 (patch)
tree004095b59d00d9cecac4365604fe29eac14cc3d6 /lib/system
parenteae29e8eafded41ce966c131bff5e66964354805 (diff)
downloadNim-49844415ce829cb627d0b02dd6b057a1574f44d6.tar.gz
Deprecate selfExe (#19660)
* Deprecate selfExe Nimscript

* Deprecate selfExe Nimscript
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/nimscript.nim3
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 =