Skip to content

Commit

Permalink
Scope in Send, Sync for wasi
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Nov 11, 2021
1 parent cd5de2f commit 41a8647
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ cfg_if! {
use core::clone::Clone;
#[doc(hidden)]
#[allow(unused_imports)]
use core::marker::Copy;
use core::marker::{Copy, Send, Sync};
#[doc(hidden)]
#[allow(unused_imports)]
use core::option::Option;
Expand All @@ -85,7 +85,7 @@ cfg_if! {
pub use core::clone::Clone;
#[doc(hidden)]
#[allow(unused_imports)]
pub use core::marker::Copy;
pub use core::marker::{Copy, Send, Sync};
#[doc(hidden)]
#[allow(unused_imports)]
pub use core::option::Option;
Expand Down
2 changes: 2 additions & 0 deletions src/wasi.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use super::{Send, Sync};

pub use ffi::c_void;

pub type c_char = i8;
Expand Down

0 comments on commit 41a8647

Please sign in to comment.