make more standard libraries work with nimPreviewSlimSystem (#20343)
* make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
This commit is contained in:
parent
98a717dda9
commit
3d2f0e2c7c
194 changed files with 299 additions and 54 deletions
|
|
@ -56,6 +56,9 @@ Please contribute a new implementation.""".}
|
|||
|
||||
import streams, typeinfo, json, intsets, tables, unicode
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/[assertions, formatfloat]
|
||||
|
||||
proc ptrToInt(x: pointer): int {.inline.} =
|
||||
result = cast[int](x) # don't skip alignment
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue