mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
Fix values of __wasi_advice_t
This commit is contained in:
parent
e115d356a7
commit
aaa0160c95
@ -8,12 +8,12 @@ use std::mem;
|
||||
use wasmer_runtime_core::types::ValueType;
|
||||
|
||||
pub type __wasi_advice_t = u8;
|
||||
pub const __WASI_ADVICE_DONTNEED: u8 = 0;
|
||||
pub const __WASI_ADVICE_NOREUSE: u8 = 1;
|
||||
pub const __WASI_ADVICE_NORMAL: u8 = 2;
|
||||
pub const __WASI_ADVICE_RANDOM: u8 = 3;
|
||||
pub const __WASI_ADVICE_SEQUENTIAL: u8 = 4;
|
||||
pub const __WASI_ADVICE_WILLNEED: u8 = 5;
|
||||
pub const __WASI_ADVICE_NORMAL: u8 = 0;
|
||||
pub const __WASI_ADVICE_SEQUENTIAL: u8 = 1;
|
||||
pub const __WASI_ADVICE_RANDOM: u8 = 2;
|
||||
pub const __WASI_ADVICE_WILLNEED: u8 = 3;
|
||||
pub const __WASI_ADVICE_DONTNEED: u8 = 4;
|
||||
pub const __WASI_ADVICE_NOREUSE: u8 = 5;
|
||||
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
#[repr(C)]
|
||||
|
Loading…
Reference in New Issue
Block a user