Explicitly import CoreFoundation (#413)
This allows TokamakDemo to be built with [latest SwiftWasm 5.4 toolchain](https://github.com/swiftwasm/swift/releases/tag/swift-wasm-5.4-SNAPSHOT-2021-06-17-a) in **debug mode** (compiler still crashes when building for release). BTW this import could be anywhere in the target, couldn't find a file that felt natural to include it in. * Move import statement to CGStubs.swift
This commit is contained in:
parent
9aa88a1978
commit
2dcbc67cd3
|
@ -16,6 +16,7 @@
|
|||
//
|
||||
|
||||
import Foundation
|
||||
import CoreFoundation
|
||||
|
||||
extension CGPoint {
|
||||
func rotate(_ angle: Angle, around origin: Self) -> Self {
|
||||
|
|
Loading…
Reference in New Issue