feat: add crate swift-rs
This commit is contained in:
9
swift-rs/example/build.rs
vendored
Normal file
9
swift-rs/example/build.rs
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
use swift_rs::SwiftLinker;
|
||||
|
||||
fn main() {
|
||||
// Ensure this matches the versions set in your `Package.swift` file.
|
||||
SwiftLinker::new("10.15")
|
||||
.with_ios("11")
|
||||
.with_package("swift-lib", "./swift-lib/")
|
||||
.link();
|
||||
}
|
||||
Reference in New Issue
Block a user