Export wamr_sys.#48
Conversation
|
we don't want people use wamr-sys directly. It will be a nightmare to use "C" logic to programming in Rust. |
|
Maybe, but in the meantime, this crate is incomplete. We need to allow a minimum of freedom for the end user if they need it (which I'm desperately hoping to have). Alternatively, |
|
Please let me know your requirement. We shall develop new APIs. |
|
I proposed the addition of the execution environment, which is necessary for address translation, heap allocation in the Wasm app, setting user data, and address validation. However, this was refused since it wasn't safe. In addition, WAMR C API allows for the creation of thread environments for host created thread. I understand the will to offer a completely safe API for WAMR, but currently, |
|
Fair enough. let's do this. |
|
Thx |
I think this won't harm anyone.