mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 23:13: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:
@@ -0,0 +1,23 @@
|
||||
package runtime
|
||||
|
||||
// This file implements stub functions for internal/poll.
|
||||
|
||||
//go:linkname poll_runtime_pollServerInit internal/poll.runtime_pollServerInit
|
||||
func poll_runtime_pollServerInit(ctx *uint8) {
|
||||
panic("todo: runtime_pollServerInit")
|
||||
}
|
||||
|
||||
//go:linkname poll_runtime_pollOpen internal/poll.runtime_pollOpen
|
||||
func poll_runtime_pollOpen(fd uintptr) (uintptr, int) {
|
||||
panic("todo: runtime_pollOpen")
|
||||
}
|
||||
|
||||
//go:linkname poll_runtime_pollClose internal/poll.runtime_pollClose
|
||||
func poll_runtime_pollClose(ctx uintptr) {
|
||||
panic("todo: runtime_pollClose")
|
||||
}
|
||||
|
||||
//go:linkname poll_runtime_pollUnblock internal/poll.runtime_pollUnblock
|
||||
func poll_runtime_pollUnblock(ctx uintptr) {
|
||||
panic("todo: runtime_pollUnblock")
|
||||
}
|
||||
Reference in New Issue
Block a user