Skip to content

Commit

Permalink
Resolves #46, VM is now Send
Browse files Browse the repository at this point in the history
  • Loading branch information
slightknack committed Apr 20, 2022
1 parent 67ca056 commit f8fabd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vm/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ pub struct VM {
pub ip: usize,
}

unsafe impl Send for VM {}

// NOTE: use Opcode::same and Opcode.to_byte() rather than actual bytes
// Don't worry, the compiler *should* get rid of this overhead and just use
// bytes
Expand Down

0 comments on commit f8fabd0

Please sign in to comment.