mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-24 06:19:04 +00:00
runtime: remove ctx param from stub code
This was necessary before, when only some functions had a context parameter. Now this is not necessary anymore because all functions (independent of signature) have a context paramter at the end so the signature always automatically matches.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ package runtime
|
|||||||
// This file implements stub functions for internal/poll.
|
// This file implements stub functions for internal/poll.
|
||||||
|
|
||||||
//go:linkname poll_runtime_pollServerInit internal/poll.runtime_pollServerInit
|
//go:linkname poll_runtime_pollServerInit internal/poll.runtime_pollServerInit
|
||||||
func poll_runtime_pollServerInit(ctx *uint8) {
|
func poll_runtime_pollServerInit() {
|
||||||
panic("todo: runtime_pollServerInit")
|
panic("todo: runtime_pollServerInit")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user