mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-30 19:23:57 +00:00
times: use posix constant instead of import (#11692)
* times: use posix constant instead of import
* simplify clock id usage
(cherry picked from commit cf36e4a44a)
This commit is contained in:
@@ -26,9 +26,6 @@ when not defined(leanCompiler):
|
||||
|
||||
from magicsys import resetSysTypes
|
||||
|
||||
proc codegenPass(g: ModuleGraph) =
|
||||
registerPass g, cgenPass
|
||||
|
||||
proc semanticPasses(g: ModuleGraph) =
|
||||
registerPass g, verbosePass
|
||||
registerPass g, semPass
|
||||
|
||||
Reference in New Issue
Block a user