I just had to explain the current behaviour to someone yesterday, complete with the same @_exported
workaround. It would definitely be nice to have a proper, non‐underscored, and hopefully straightforward way to make it work like that.
RFC: SwiftPM support for ensuring a correspondence between product name and Swift module import name
1 Like