feat: secure enclave

This commit is contained in:
2023-12-09 10:45:23 +08:00
parent 215b75d6da
commit fa1cd80fc8
6 changed files with 151 additions and 1 deletions

11
build.rs Normal file
View File

@@ -0,0 +1,11 @@
#[cfg(feature = "secure-enclave")]
use swift_rs::SwiftLinker;
fn main() {
// Ensure this matches the versions set in your `Package.swift` file.
#[cfg(feature = "secure-enclave")]
SwiftLinker::new("10.15")
.with_ios("11")
.with_package("swift-lib", "./swift-lib/")
.link();
}