Skip to content

Commit

Permalink
Fix consts
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetr0v committed Feb 8, 2021
1 parent 957fdb2 commit 64601c8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions oak_runtime/src/node/wasm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ const RANDOM_GET: usize = 2;
const CHANNEL_CLOSE: usize = 3;
const CHANNEL_CREATE: usize = 4;
const CHANNEL_CREATE_WITH_DOWNGRADE: usize = 5;
const HANDLE_CLONE: usize = 14;
const CHANNEL_WRITE: usize = 6;
const CHANNEL_WRITE_WITH_DOWNGRADE: usize = 7;
const CHANNEL_READ: usize = 8;
const CHANNEL_READ_WITH_DOWNGRADE: usize = 9;
const WAIT_ON_CHANNELS: usize = 10;
const CHANNEL_LABEL_READ: usize = 11;
const NODE_LABEL_READ: usize = 12;
const NODE_PRIVILEGE_READ: usize = 13;
const HANDLE_CLONE: usize = 6;
const CHANNEL_WRITE: usize = 7;
const CHANNEL_WRITE_WITH_DOWNGRADE: usize = 8;
const CHANNEL_READ: usize = 9;
const CHANNEL_READ_WITH_DOWNGRADE: usize = 10;
const WAIT_ON_CHANNELS: usize = 11;
const CHANNEL_LABEL_READ: usize = 12;
const NODE_LABEL_READ: usize = 13;
const NODE_PRIVILEGE_READ: usize = 14;
// TODO(#817): remove this; we shouldn't need to have WASI stubs.
const WASI_STUB: usize = 14;
const WASI_STUB: usize = 15;

// Type aliases for positions and offsets in Wasm linear memory. Any future 64-bit version
// of Wasm would use different types.
Expand Down

0 comments on commit 64601c8

Please sign in to comment.