Skip to content

Build XCTest for the wasm32-unknown-wasi triple #597

Closed
@MaxDesiatov

Description

@MaxDesiatov

Currently the XCTest module is not bult as a part of CI run, so swift test --triple wasm32-unknown-wasi fails with this error:

LifeGameTests.swift:1:8: error: could not find module 'XCTest' for target 'wasm32-unknown-wasi'; found: x86_64-apple-ios-macabi, x86_64, x86_64-apple-macos
import XCTest
       ^
LifeGameTests.swift:1:8: error: could not find module 'XCTest' for target 'wasm32-unknown-wasi'; found: x86_64-apple-ios-macabi, x86_64, x86_64-apple-macos
import XCTest
       ^

I understand that just building it for the triple probably won't fix swift test and it needs to learn how to call Wasmer for a test run, but buliding XCTest for the triple is probably a good first step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions