Static Binary in Packages

Hi all,

I’m having a hard time finding if this feature exists. @clattner recommended that I post this in the forum. In Swift Package Manager, there is an upcoming feature to ship static binaries per platform in the package; super useful if you are wrapping a c-header-based library that you need to link against: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0272-swiftpm-binary-dependencies.md (this has long been there for Apple Platforms and now in Swift 6.2, it will soon support Linux and Windows platforms as well)

Is there any feature, RFC or plan for adding this feature?

Max

1 Like

I believe this is covered by default rattler-build / pixi / conda already. Have you checked out docs for building packages for modular-community or looked at the pixi docs?

Since it’s all conda, you should be able to do the things described in that Swift proposal if I’m understanding it correctly.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.