mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 02:33:28 +00:00
src/os: export correct values for os.DevNull for each OS
This commit introduces `os.DevNull` exports for all supported OS targets.
This commit is contained in:
@@ -26,8 +26,6 @@ var (
|
||||
Stderr = NewFile(uintptr(syscall.Stderr), "/dev/stderr")
|
||||
)
|
||||
|
||||
const DevNull = "/dev/null"
|
||||
|
||||
// isOS indicates whether we're running on a real operating system with
|
||||
// filesystem support.
|
||||
const isOS = true
|
||||
|
||||
Reference in New Issue
Block a user