Avatar
omochimetaru 10/6/2020 5:21 PM
ああ、たしかに。
5:21 PM
これをちょっと書き換えてみるか
5:22 PM
import XCTest final class wpkgTests: XCTestCase { func testExample() throws { XCTAssertTrue(true) } static var allTests = [ ("testExample", testExample), ] }
5:22 PM
[omochi@omochi-iMacPro wpkg]$ swift build -c debug --build-tests --destination /Users/omochi/swift/swift-wasm-DEVELOPMENT-SNAPSHOT-2020-10-05-a/usr/wasm32-unknown-wasi.json wasm-ld: error: /Users/omochi/swift/swift-wasm-DEVELOPMENT-SNAPSHOT-2020-10-05-a/usr/lib/swift_static/wasi/libFoundation.a(Data.swift.obj): undefined symbol: _withStackOrHeapBuffer clang-10: error: linker command failed with exit code 1 (use -v to see invocation) <unknown>:0: error: link command failed with exit code 1 (use -v to see invocation) [7/8] Linking wpkgPackageTests.xctest
5:22 PM
同じシンボルでコケた
5:23 PM
ほんとだ。リグレッションだ > issue 1824
5:23 PM
10/05が駄目なんだな
5:24 PM
10/02にしてみるか。