all: basic support for the os package

The resulting binary is pretty big due to lacking optimizations
(probably because of interfaces), so that should be fixed.
This commit is contained in:
Ayke van Laethem
2018-09-15 18:54:36 +02:00
parent c237633d34
commit 1484bb5c2c
6 changed files with 141 additions and 3 deletions
+12
View File
@@ -1 +1,13 @@
package runtime
// This file contains stub implementations for internal/poll.
//go:linkname semacquire internal/poll.runtime_Semacquire
func semacquire(sema *uint32) {
panic("todo: semacquire")
}
//go:linkname semrelease internal/poll.runtime_Semrelease
func semrelease(sema *uint32) {
panic("todo: semrelease")
}