Skip to content
Snippets Groups Projects
Commit 1ed27875 authored by Stefan Lankes's avatar Stefan Lankes
Browse files

test smaller alignments

a thread local storage doesn't align data to page boundries
parent 907f8af6
Branches
Tags
No related merge requests found
...@@ -90,7 +90,7 @@ pub fn test_futex() { ...@@ -90,7 +90,7 @@ pub fn test_futex() {
#[test_case] #[test_case]
pub fn test_thread_local() { pub fn test_thread_local() {
#[repr(C, align(0x1000))] #[repr(C, align(0x10))]
struct AlignedByte(u8); struct AlignedByte(u8);
#[thread_local] #[thread_local]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment