pub struct DylibOpts {
pub interpreter: Option<String>,
pub async_: AsyncFilterSet,
pub stack_pointer: StackPointer,
}Fields§
§interpreter: Option<String>The interpreter name to insert into the WASM_DYLINK_NEEDED section
encoded as dylink.0.
async_: AsyncFilterSet§stack_pointer: StackPointerWhere the stack pointer is located in the ABI of the generated dylib.
For WASIp2-and-prior the global option should be used, and for
WASIp3-and-later the task-context option should be used.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DylibOpts
impl RefUnwindSafe for DylibOpts
impl Send for DylibOpts
impl Sync for DylibOpts
impl Unpin for DylibOpts
impl UnsafeUnpin for DylibOpts
impl UnwindSafe for DylibOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more