Remove tracking of environment from osenv.nim v2 (#18575)
* Remove unnecessary environment tracking * try to fix windows * fix delEnv * make putEnv work on windows even with empty values; improve tests: add tests, add js, vm testing * [skip ci] fix changelog Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com>
This commit is contained in:
parent
bbe05c1532
commit
6b3c77e7f4
6 changed files with 240 additions and 186 deletions
|
|
@ -97,11 +97,14 @@
|
|||
The downside is that these defines now have custom logic that doesn't apply for
|
||||
other defines.
|
||||
|
||||
- `std/os`: `putEnv` now raises if the 1st argument contains a `=`
|
||||
|
||||
- Renamed `-d:nimCompilerStackraceHints` to `-d:nimCompilerStacktraceHints`.
|
||||
|
||||
- In `std/dom`, `Interval` is now a `ref object`, same as `Timeout`. Definitions of `setTimeout`,
|
||||
`clearTimeout`, `setInterval`, `clearInterval` were updated.
|
||||
|
||||
|
||||
## Standard library additions and changes
|
||||
|
||||
- `strformat`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue