Update toolchain and remove extra compiler flags (#147)

* Update toolchain version and remove extra compiler flags

* Ignore .swiftpm
This commit is contained in:
Yuta Saito 2020-10-31 16:57:52 +09:00 committed by GitHub
parent b1f01a437b
commit 0ee05ba7a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -44,7 +44,7 @@ playground.xcworkspace
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm
.swiftpm
.build/

View File

@ -223,7 +223,7 @@ public final class Toolchain {
let builderArguments = [
swiftPath.pathString, "build", "-c", isRelease ? "release" : "debug", "--product", product,
"--enable-test-discovery", "--triple", "wasm32-unknown-wasi", "-Xswiftc", "-static-stdlib",
"--enable-test-discovery", "--triple", "wasm32-unknown-wasi",
]
try Builder(arguments: builderArguments, mainWasmPath: mainWasmPath, fileSystem, terminal)
@ -254,7 +254,7 @@ public final class Toolchain {
let builderArguments = [
swiftPath.pathString, "build", "-c", isRelease ? "release" : "debug", "--build-tests",
"--enable-test-discovery", "--triple", "wasm32-unknown-wasi", "-Xswiftc", "-static-stdlib",
"--enable-test-discovery", "--triple", "wasm32-unknown-wasi",
"-Xswiftc", "-color-diagnostics",
]