mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 04:19:04 +00:00
Add runtime.GOOS
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
// +build js
|
||||||
|
|
||||||
|
package runtime
|
||||||
|
|
||||||
|
const GOOS = "js"
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
// +build linux
|
||||||
|
|
||||||
|
package runtime
|
||||||
|
|
||||||
|
const GOOS = "linux"
|
||||||
Reference in New Issue
Block a user