Skip to content
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

Implement Send and Sync for softbuffer types #217

Merged
merged 10 commits into from
Jun 1, 2024
Prev Previous commit
Next Next commit
m: Use better WASM strategy
Signed-off-by: John Nunley <[email protected]>
notgull committed May 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 16323251514f70aff8dbdcbb6668751fb98ccc19
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -319,7 +319,7 @@ fn display_handle_type_name(handle: &RawDisplayHandle) -> &'static str {
}
}

#[cfg(all(not(target_arch = "wasm32"), not(target_arch = "wasm64")))]
#[cfg(not(target_family = "wasm"))]
fn __assert_send() {
fn is_send<T: Send>() {}
fn is_sync<T: Sync>() {}