diff --git a/src/helpers.rs b/src/helpers.rs index ad4f00c4..b21dd310 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -239,8 +239,6 @@ pub fn strcmp (arg1: u64, arg2: u64, arg3: u64, unused4: u64, unused5: u64) -> u /// Returns a random u64 value comprised between `min` and `max` values (inclusive). Arguments 3 to /// 5 are unused. -/// -/// This does not rely on `libc::rand()` and therefore can be called without `libc::srand()`. #[allow(dead_code)] #[allow(unused_variables)] #[cfg(feature = "std")] diff --git a/src/jit.rs b/src/jit.rs index 21aa0d69..846b7f25 100644 --- a/src/jit.rs +++ b/src/jit.rs @@ -943,7 +943,7 @@ impl JitCompiler { pub struct JitMemory<'a> { contents: &'a mut [u8], - layout: alloc::Layout, + layout: alloc::Layout, offset: usize, }