wasm_interp: code comment about empty implementation of WASI clock functions

This commit is contained in:
Brian Carroll 2022-12-06 22:15:08 +00:00
parent 74b3d14277
commit d43129d578
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0

View file

@ -61,8 +61,8 @@ impl<'a> WasiDispatcher<'a> {
} }
"environ_get" => todo!("WASI {}({:?})", function_name, arguments), "environ_get" => todo!("WASI {}({:?})", function_name, arguments),
"environ_sizes_get" => todo!("WASI {}({:?})", function_name, arguments), "environ_sizes_get" => todo!("WASI {}({:?})", function_name, arguments),
"clock_res_get" => success_code, "clock_res_get" => success_code, // this dummy implementation seems to be good enough
"clock_time_get" => success_code, "clock_time_get" => success_code, // this dummy implementation seems to be good enough
"fd_advise" => todo!("WASI {}({:?})", function_name, arguments), "fd_advise" => todo!("WASI {}({:?})", function_name, arguments),
"fd_allocate" => todo!("WASI {}({:?})", function_name, arguments), "fd_allocate" => todo!("WASI {}({:?})", function_name, arguments),
"fd_close" => todo!("WASI {}({:?})", function_name, arguments), "fd_close" => todo!("WASI {}({:?})", function_name, arguments),