mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 10:43:29 +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:
@@ -15,6 +15,8 @@ var (
|
||||
Stderr = NewFile(2, "/dev/stderr")
|
||||
)
|
||||
|
||||
const DevNull = "/dev/null"
|
||||
|
||||
// isOS indicates whether we're running on a real operating system with
|
||||
// filesystem support.
|
||||
const isOS = false
|
||||
|
||||
Reference in New Issue
Block a user