Skip to content

Explicitly specify dependencies for each target/module #699

Description

@cgrindel

Describe the bug
We would like to build with explicit modules enabled.

To Reproduce
Steps to reproduce the behavior:

  1. Execute the build with these flags: swift build --use-integrated-swift-driver --experimental-explicit-module-build

Expected behavior
It should succeed

Setup (please complete the following information):

  • OS: MacOS 14.0
  • Version of soto: 6.8.0
  • Swift: 5.9
swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
Target: x86_64-apple-macosx14.0

Additional context
I am willing to take a crack at reworking the Package.swift to explicitly specify the dependencies. Just let me know.

Related to cgrindel/rules_swift_package_manager#647.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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