Is there desire to support things like std::time::Instant::now() etc. on wasm32-unknown-unknown? I tried to use it recently, but it seems to be behind the wasm_syscall feature flag, which is not enabled by default.
I’m not sure I understand the rationale behind this. Someone on reddit mentioned, that the wasm32-unknown-unknown triple is for “bare-bones” wasm only, without any runtime dependencies. I understand that this is a good first step, especially if the initial focus is on supplementing javascript.
But it makes porting whole applications hard. Hardly any useful rust library or binary does not use any syscalls. I tried to port the littlewing chess engine for example. While pure chess calculations do not need syscalls, the engine needs a source of time to know when to stop searching for the next move. How should one approach porting such applications to wasm?