We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 631e268 commit 18b300aCopy full SHA for 18b300a
src/lib.rs
@@ -199,6 +199,9 @@ cfg_if! {
199
} else if #[cfg(unix)] {
200
mod unix;
201
pub use unix::*;
202
+ } else if #[cfg(target_env = "sgx")] {
203
+ mod sgx;
204
+ pub use sgx::*;
205
} else {
206
// Unknown target_family
207
}
src/sgx.rs
@@ -0,0 +1,3 @@
1
+pub type c_char = i8;
2
+pub type c_long = i64;
3
+pub type c_ulong = u64;
0 commit comments