mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
extend stdlib to allow import of more packages (#1099)
* stdlib: extend stdlib to allow import of more packages
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package runtime
|
||||
|
||||
// The Error interface identifies a run time error.
|
||||
type Error interface {
|
||||
error
|
||||
|
||||
RuntimeError()
|
||||
}
|
||||
@@ -14,3 +14,7 @@ func (f *Func) Name() string {
|
||||
func Caller(skip int) (pc uintptr, file string, line int, ok bool) {
|
||||
return 0, "", 0, false
|
||||
}
|
||||
|
||||
func Stack(buf []byte, all bool) int {
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user