mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-21 16:31:39 +00:00
Deprecate selfExe (#19660)
* Deprecate selfExe Nimscript * Deprecate selfExe Nimscript
This commit is contained in:
@@ -50,6 +50,8 @@ becomes an alias for `addr`.
|
||||
|
||||
- Remove deprecated `osproc.poDemon`, symbol with typo.
|
||||
|
||||
- Deprecated `selfExe` for Nimscript.
|
||||
|
||||
|
||||
## Language changes
|
||||
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user