about summary refs log tree commit diff
path: root/library/std/src/sys/windows/alloc
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2024-01-11 20:10:25 +0100
committerjoboet <jonasboettiger@icloud.com>2024-01-11 20:10:25 +0100
commit99128b7e45f8b95d962da2e6ea584767f0c85455 (patch)
tree20874cb2d8526a427342c32a45bc63a21022499c /library/std/src/sys/windows/alloc
parent062e7c6a951c1e4f33c0a6f6761755949cde15ec (diff)
downloadrust-99128b7e45f8b95d962da2e6ea584767f0c85455.tar.gz
rust-99128b7e45f8b95d962da2e6ea584767f0c85455.zip
std: begin moving platform support modules into `pal`
Diffstat (limited to 'library/std/src/sys/windows/alloc')
-rw-r--r--library/std/src/sys/windows/alloc/tests.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/library/std/src/sys/windows/alloc/tests.rs b/library/std/src/sys/windows/alloc/tests.rs
deleted file mode 100644
index 674a3e1d92d..00000000000
--- a/library/std/src/sys/windows/alloc/tests.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-use super::{Header, MIN_ALIGN};
-use crate::mem;
-
-#[test]
-fn alloc_header() {
-    // Header must fit in the padding before an aligned pointer
-    assert!(mem::size_of::<Header>() <= MIN_ALIGN);
-    assert!(mem::align_of::<Header>() <= MIN_ALIGN);
-}