Skip to content

Commit

Permalink
Package.swift commit for 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
heckj committed May 15, 2023
1 parent f080af6 commit 00a2aa3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription

var globalSwiftSettings: [PackageDescription.SwiftSetting] = []
#if swift(>=5.7)
globalSwiftSettings.append(.unsafeFlags(["-Xfrontend", "-strict-concurrency=complete"]))
//globalSwiftSettings.append(.unsafeFlags(["-Xfrontend", "-strict-concurrency=complete"]))
/*
Summation from https://www.donnywals.com/enabling-concurrency-warnings-in-xcode-14/
Set `strict-concurrency` to `targeted` to enforce Sendable and actor-isolation
Expand Down Expand Up @@ -43,9 +43,13 @@ let package = Package(
// If you're working from source, or a branch without an existing xcframework.zip,
// use the script `./scripts/build-xcframework.sh` to create the library locally.
// This script _does_ expect that you have Rust installed locally in order to function.

.binaryTarget(
name: "yniffiFFI",
path: "./lib/yniffiFFI.xcframework"
// Uncomment `path`, and comment out url and checksum, for local development
// path: "./lib/yniffiFFI.xcframework"
url: "https://github.com/y-crdt/yswift/releases/download/0.1.0/yniffiFFI.xcframework.zip",
checksum: "4bba5754a02eec941591dc32efe65692031565371dc0db3cfcf64438d96e5b6c"
),
.target(
name: "Yniffi",
Expand Down

0 comments on commit 00a2aa3

Please sign in to comment.