File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 380380- Deprecated ` sequtils.delete ` and added an overload taking a ` Slice ` that raises a defect
381381 if the slice is out of bounds, likewise with ` strutils.delete ` .
382382
383+
383384## Language changes
384385
385386- The ` cstring ` doesn't support ` []= ` operator in JS backend.
Original file line number Diff line number Diff line change 2727# #
2828# # See `packaging <packaging.html>`_ for hints on distributing Nim using OS packages.
2929
30- from strutils import contains, toLowerAscii
30+ from std / strutils import contains, toLowerAscii
3131
3232when not defined (nimscript):
33- from osproc import execProcess
34- from os import existsEnv
33+ from std / osproc import execProcess
34+ from std / os import existsEnv
3535
3636type
3737 Distribution * {.pure .} = enum # # the list of known distributions
@@ -211,7 +211,7 @@ template detectOs*(d: untyped): bool =
211211 detectOsImpl (Distribution .d)
212212
213213when not defined (nimble):
214- var foreignDeps: seq [string ] = @ []
214+ var foreignDeps* : seq [string ] = @ [] # # Registered foreign deps.
215215
216216proc foreignCmd * (cmd: string ; requiresSudo = false ) =
217217 # # Registers a foreign command to the internal list of commands
You can’t perform that action at this time.
0 commit comments