Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Bionic module that's part of the new Android overlay #421

Merged
merged 3 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

##### Enhancements

* Add support for compiling with the visionOS SDK.
* Add support for visionOS.
[ruralharry](http://github.com/ruralharry)

* Add support for Android.
[finagolfin](http://github.com/finagolfin)

* Add support for Bazel's `rules_swift` 2.x versions.
[Luis Padron](https://github.com/luispadron)

Expand Down
4 changes: 4 additions & 0 deletions Sources/Yams/Representer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@

import Foundation

#if os(iOS) || os(macOS) || os(watchOS) || os(tvOS) || os(visionOS)

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.3.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 13.4

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.2

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 12 with Xcode 14.0.1

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'

Check warning on line 11 in Sources/Yams/Representer.swift

View workflow job for this annotation

GitHub Actions / macOS 13 with Xcode 14.3

unknown operating system for build configuration 'os'
import Darwin
private let cpow: (_: Double, _: Double) -> Double = Darwin.pow
#elseif os(Windows)
import ucrt
private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
#elseif canImport(Bionic)
import CoreFoundation
import Bionic
private let cpow: (_: Double, _: Double) -> Double = Bionic.pow
#else
import CoreFoundation
import Glibc
Expand Down
Loading