CIs: attempt to use csources_v1 (#16282)
* CIs: attempt to use csources_v1 * also updated the BSDs * also updated azure pipelines * std modules should not itself use the 'std/' import dir... * compiler has to be careful with std/ for v1 booting
This commit is contained in:
parent
7bce1f8578
commit
a9b62de895
58 changed files with 142 additions and 143 deletions
|
|
@ -44,7 +44,7 @@
|
|||
include system/inclrtl
|
||||
import std/private/since
|
||||
|
||||
import std/[strutils, pathnorm]
|
||||
import strutils, pathnorm
|
||||
|
||||
const weirdTarget = defined(nimscript) or defined(js)
|
||||
|
||||
|
|
@ -65,9 +65,9 @@ since (1, 1):
|
|||
when weirdTarget:
|
||||
discard
|
||||
elif defined(windows):
|
||||
import std/[winlean, times]
|
||||
import winlean, times
|
||||
elif defined(posix):
|
||||
import std/[posix, times]
|
||||
import posix, times
|
||||
|
||||
proc toTime(ts: Timespec): times.Time {.inline.} =
|
||||
result = initTime(ts.tv_sec.int64, ts.tv_nsec.int)
|
||||
|
|
@ -1008,7 +1008,7 @@ proc expandTilde*(path: string): string {.
|
|||
##
|
||||
## Windows: this is still supported despite Windows platform not having this
|
||||
## convention; also, both ``~/`` and ``~\`` are handled.
|
||||
##
|
||||
##
|
||||
## .. warning:: `~bob` and `~bob/` are not yet handled correctly.
|
||||
##
|
||||
## See also:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue