-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update winit_test
and re-enable tests/present_and_fetch
#179
Conversation
Looks like the test needs to be updated for WASM. The |
@madsmtm Any insight into this segfault? |
Hmm, yeah, that is troubling, I'm looking into it. |
Oh, I thought I had migrated The issue is fairly simple once you see it, both |
Fixed in #180 |
This is unfortunately not going to work on Wasm, because I guess this is an issue in |
} | ||
|
||
let window = builder.build(elwt).unwrap(); | ||
|
||
// winit does not wait for the window to be mapped... sigh | ||
#[cfg(not(target_arch = "wasm32"))] | ||
std::thread::sleep(std::time::Duration::from_millis(1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just leaving this here as another argument for notgull/winit-test#11: my system needed longer to work correctly.
The test was removed as part of #214, so I'll close this PR. We will revisit this in the future. |
No description provided.