From 3f627b1b402b15af03ae0f0f55476e975dd75a5e Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Tue, 3 Apr 2018 19:52:50 -0600
Subject: [PATCH] Remove asserts

---
 src/stdlib/src/lib.rs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/stdlib/src/lib.rs b/src/stdlib/src/lib.rs
index c80422371..4a1e7c967 100644
--- a/src/stdlib/src/lib.rs
+++ b/src/stdlib/src/lib.rs
@@ -311,9 +311,6 @@ pub extern "C" fn lrand48() -> c_long {
 }
 
 unsafe fn malloc_inner(size: usize, offset: usize, align: usize) -> *mut c_void {
-    assert!(offset >= 16);
-    assert!(align >= 8);
-
     let ptr = ralloc::alloc(size + offset, align);
     if !ptr.is_null() {
         *(ptr as *mut u64) = (size + offset) as u64;
-- 
GitLab