diff --git a/src/execute.rs b/src/execute.rs index 25dc1ee..76a2ce8 100644 --- a/src/execute.rs +++ b/src/execute.rs @@ -132,6 +132,9 @@ pub fn execute(stack: &mut Stack, mut origin_stack: Option<&mut Stack>, mod_name #[cfg(target_family = "unix")] "_unix_random" => instructions::_unix_random::_unix_random(&mut stack.memory), + #[cfg(not(target_family = "unix"))] + "_unix_random" => instructions::random::random(&mut stack.memory), + // Labast-specific "random" => instructions::random::random(&mut stack.memory), @@ -141,4 +144,4 @@ pub fn execute(stack: &mut Stack, mut origin_stack: Option<&mut Stack>, mod_name } } } -} \ No newline at end of file +}