mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
runtime: implement internal/godebug.setUpdate as a stub
This function provides a mechanism to watch for changes to the GODEBUG environment variable. For now, we'll not implement it. It might be useful in the future, when it can always be added.
This commit is contained in:
committed by
Ron Evans
parent
d639e01650
commit
19db0144ae
@@ -95,3 +95,9 @@ func KeepAlive(x interface{}) {
|
||||
func SetFinalizer(obj interface{}, finalizer interface{}) {
|
||||
// Unimplemented.
|
||||
}
|
||||
|
||||
//go:linkname godebug_setUpdate internal/godebug.setUpdate
|
||||
func godebug_setUpdate(update func(string, string)) {
|
||||
// Unimplemented. The 'update' function needs to be called whenever the
|
||||
// GODEBUG environment variable changes (for example, via os.Setenv).
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user