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:
Andreas Rumpf 2021-04-21 07:41:33 +02:00 • committed by GitHub
commit a9b62de895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 142 additions and 143 deletions

View file

@ -72,7 +72,7 @@ runnableExamples:
## * `list of cryptographic and hashing modules <lib.html#pure-libraries-hashing>`_
## in the standard library
import std/[algorithm, math]
import algorithm, math
import std/private/since
include system/inclrtl
@ -625,7 +625,7 @@ proc shuffle*[T](x: var openArray[T]) =
shuffle(state, x)
when not defined(nimscript) and not defined(standalone):
import std/times
import times
proc initRand(): Rand =
## Initializes a new Rand state with a seed based on the current time.