We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e14a756 commit d4348f3Copy full SHA for d4348f3
Package.swift
@@ -1,10 +1,9 @@
1
// swift-tools-version:5.8
2
3
import PackageDescription
4
-import Foundation
5
6
// NOTE: needed for embedded customizations, ideally this will not be necessary at all in the future, or can be replaced with traits
7
-let shouldBuildForEmbedded = ProcessInfo.processInfo.environment["JAVASCRIPTKIT_EXPERIMENTAL_EMBEDDED_WASM"].flatMap(Bool.init) ?? false
+let shouldBuildForEmbedded = Context.environment["JAVASCRIPTKIT_EXPERIMENTAL_EMBEDDED_WASM"].flatMap(Bool.init) ?? false
8
9
let package = Package(
10
name: "JavaScriptKit",
0 commit comments