Skip to content

Commit

Permalink
Add support of Nianjia
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangpf committed Apr 22, 2019
1 parent fa186bb commit f7e58a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ cfg_if! {
} else if #[cfg(target_env = "wasi")] {
mod wasi;
pub use wasi::*;
} else if #[cfg(target_env = "nianjia")] {
mod nianjia;
pub use nianjia::*;
} else {
// non-supported targets: empty...
}
Expand Down
2 changes: 2 additions & 0 deletions src/nianjia.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub use ffi::c_void;

0 comments on commit f7e58a8

Please sign in to comment.