You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
cgrindel
changed the title
Would you be open to a pull request to update Package.swift to build with explicit module support enabled?
Support building with explicit module support enabled
Oct 17, 2023
On second thought, it looks like getting this and all of the transitive dependencies to build with swift build --use-integrated-swift-driver --experimental-explicit-module-build might be premature. Alternatively, could we update Package.swift to include all of the direct dependencies for each target?
cgrindel
changed the title
Support building with explicit module support enabled
Explicitly specify dependencies for each target/module
Oct 17, 2023
The Package.swift is auto-generated by the swift script scripts/generate-package.swift. It uses the template scripts/templates/package.swift. So you'll need to edit that and run the above script.
Describe the bug
We would like to build with explicit modules enabled.
To Reproduce
Steps to reproduce the behavior:
swift build --use-integrated-swift-driver --experimental-explicit-module-build
Expected behavior
It should succeed
Setup (please complete the following information):
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.
The text was updated successfully, but these errors were encountered: