diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-04-21 07:41:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 07:41:33 +0200 |
commit | a9b62de8956af50424767408bbe30631c63b331b (patch) | |
tree | 1bedd3362d89ee8b2d4f0b6552630a2e203ef8f0 /compiler/ic/cbackend.nim | |
parent | 7bce1f8578eafffacd599401e709de279528e68b (diff) | |
download | Nim-a9b62de8956af50424767408bbe30631c63b331b.tar.gz |
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
Diffstat (limited to 'compiler/ic/cbackend.nim')
-rw-r--r-- | compiler/ic/cbackend.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/ic/cbackend.nim b/compiler/ic/cbackend.nim index c7e5c7266..f5811cb3b 100644 --- a/compiler/ic/cbackend.nim +++ b/compiler/ic/cbackend.nim @@ -18,8 +18,8 @@ ## also doing cross-module dependency tracking and DCE that we don't need ## anymore. DCE is now done as prepass over the entire packed module graph. -import std/[packedsets, algorithm, tables] - # std/intsets would give `UnusedImport`, pending https://github.com/nim-lang/Nim/issues/14246 +import std/packedsets, algorithm, tables + import ".."/[ast, options, lineinfos, modulegraphs, cgendata, cgen, pathutils, extccomp, msgs] @@ -70,7 +70,7 @@ proc addFileToLink(config: ConfigRef; m: PSym) = addFileToCompile(config, cf) when defined(debugDce): - import std / [os, packedsets] + import os, std/packedsets proc storeAliveSymsImpl(asymFile: AbsoluteFile; s: seq[int32]) = var f = rodfiles.create(asymFile.string) |