mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 19:02:18 +00:00
* 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
21 lines
286 B
Nim
21 lines
286 B
Nim
discard """
|
|
outputsub: ""
|
|
"""
|
|
|
|
# Test Posix interface
|
|
|
|
when not defined(windows):
|
|
|
|
import posix
|
|
import std/syncio
|
|
|
|
var
|
|
u: Utsname
|
|
|
|
discard uname(u)
|
|
|
|
writeLine(stdout, u.sysname)
|
|
writeLine(stdout, u.nodename)
|
|
writeLine(stdout, u.release)
|
|
writeLine(stdout, u.machine)
|