refraction-networking / water

WebAssembly Transport Executables Runtime
Apache License 2.0
22 stars 1 forks source link

bug: Walltime, Nanotime, Nanosleep and RandSource not configured #40

Closed gaukas closed 6 months ago

gaukas commented 7 months ago

We used wazero.ModuleConfig in WazeroModuleConfigFactory:

https://github.com/gaukas/water/blob/1acc17fba677cb505b8cd366dcb9ce49c226535e/wazero_config.go#L12-L15

However, by default all these system critical components are unset/set-to-noop/set-to-fake instead of default to using system-default.

At least, we must explicitly invoke: