Skip to main content

Word

Type Alias Word 

Source
pub type Word = usize;
Expand description

One argument word: as wide as the host’s pointers, so a call costs no double-word arithmetic on a 32-bit target. A Wasm guest’s 32-bit or 64-bit word fits, since guests with 64-bit memory only run on 64-bit hosts.