Skip to content

Include XCTest in the distribution archive #922

Closed
@MaxDesiatov

Description

@MaxDesiatov

I'm able to build XCTest outside of the toolchain build process, this generates the supporting .swiftmodule, .swiftdoc etc files. The problem is that there's no static archive available for XCTest (libXCTest.a) to be linked as a system framework as a result of a swift build run in our fork of XCTest. One option is to make it buildable as a part of build-script (with CMake as far as I understand), another option is to continue building it with SwiftPM outside of build-script, but to enable static library archives in SwiftPM for WASI. I'm currently inclined to do the latter, which could become useful for distributing binary SwiftWasm libraries in general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions