Skip to content

Commit 301c8e5

Browse files
committed
Remove redundant requirement
`snmalloc` now supports alignment of all allocations with microsoft/snmalloc#124 This comment is no longer required.
1 parent bcdb657 commit 301c8e5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

snmalloc-sys/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ extern "C" {
1010
/// On failure, it returns a null pointer.
1111
/// The client must assure the following things:
1212
/// - `alignment` is greater than zero
13-
/// - `alignment` is less equal to `SUPERSLAB_SIZE` (defined in snmalloc)
1413
/// - `alignment` is of the power of 2
1514
/// The program may be forced to abort if the constrains are not full-filled.
1615
pub fn rust_alloc(alignment: size_t, size: size_t) -> *mut c_void;

0 commit comments

Comments
 (0)