Crate oc_wasm_safe
source · [−]Expand description
This crate provides safe but low-level for the Wasm imports available in the OC-Wasm environment.
Features
The panic
feature controls how certain system call errors which should be impossible are
handled. When the feature is enabled, a panic is generated in those situations. When the
feature is disabled, a Wasm unreachable
(trap) instruction is executed instead; this produces
smaller code but less useful error messages.
The std
feature controls whether error::Error
implements
std::error::Error
, which it cannot do in a no_std
environment.
Modules
Macros
Panics or traps depending on the state of the panic
feature.
Structs
A component address.