Skip to content

Commit 41a8647

Browse files
Scope in Send, Sync for wasi
1 parent cd5de2f commit 41a8647

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ cfg_if! {
6363
use core::clone::Clone;
6464
#[doc(hidden)]
6565
#[allow(unused_imports)]
66-
use core::marker::Copy;
66+
use core::marker::{Copy, Send, Sync};
6767
#[doc(hidden)]
6868
#[allow(unused_imports)]
6969
use core::option::Option;
@@ -85,7 +85,7 @@ cfg_if! {
8585
pub use core::clone::Clone;
8686
#[doc(hidden)]
8787
#[allow(unused_imports)]
88-
pub use core::marker::Copy;
88+
pub use core::marker::{Copy, Send, Sync};
8989
#[doc(hidden)]
9090
#[allow(unused_imports)]
9191
pub use core::option::Option;

src/wasi.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
use super::{Send, Sync};
2+
13
pub use ffi::c_void;
24

35
pub type c_char = i8;

0 commit comments

Comments
 (0)