We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7125d2e commit 3b5ab65Copy full SHA for 3b5ab65
src/lib.rs
@@ -200,6 +200,9 @@ cfg_if! {
200
} else if #[cfg(unix)] {
201
mod unix;
202
pub use unix::*;
203
+ } else if #[cfg(target_env = "sgx")] {
204
+ mod sgx;
205
+ pub use sgx::*;
206
} else {
207
// Unknown target_family
208
}
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