mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 21:43:40 +00:00
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:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user