forked from n3tael/labast
		
	Allow _unix_random on not Unix systems.
This commit is contained in:
		
							parent
							
								
									d6e290f916
								
							
						
					
					
						commit
						f0fb5371a1
					
				@ -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),
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user