Deprecate selfExe (#19660)
* Deprecate selfExe Nimscript * Deprecate selfExe Nimscript
This commit is contained in:
parent
eae29e8eaf
commit
49844415ce
2 changed files with 3 additions and 2 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue