Added workaround for io tests
@@ -480,6 +480,8 @@ fn test_io_memory_layout() {
);
};
}
+
+ std::thread::Builder::new().stack_size(4 * 1024 * 1024).spawn(|| {
assert_field_offset!(config_flags, ConfigFlags);
assert_field_offset!(backend_flags, BackendFlags);
assert_field_offset!(display_size, DisplaySize);
@@ -582,4 +584,5 @@ fn test_io_memory_layout() {
);
assert_field_offset!(input_queue_surrogate, InputQueueSurrogate);
assert_field_offset!(input_queue_characters, InputQueueCharacters);
+ }).unwrap().join().unwrap();
}
