feat: secure enclave is on going
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
pub fn is_support_secure_enclave() -> bool {
|
||||
false
|
||||
use swift_rs::{Bool, SRString};
|
||||
use swift_rs::swift;
|
||||
|
||||
swift!(fn is_support_secure_enclave() -> Bool);
|
||||
swift!(fn print_greeting(name: SRString) -> Bool);
|
||||
|
||||
pub fn is_support_se() -> bool {
|
||||
unsafe {
|
||||
print_greeting(SRString::from("hatter"));
|
||||
}
|
||||
unsafe { is_support_secure_enclave() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user