rules_swift_package_manager icon indicating copy to clipboard operation
rules_swift_package_manager copied to clipboard

Decide how to support `cxxLanguageStandard` in a Swift manifest.

Open cgrindel opened this issue 1 year ago • 3 comments

The problem is that we do not want to add it to the cxxopts for each target. It would override the values in the .bazelrc. Also, I think that you do not want modules linked with different standards.

  • Should we output cxxLanguageStandard values as we come across them?
  • Should we scan all of the manifests and pick the highest one?
  • How should we tell the client?
    • We can print the value(s) from Starlark, but they could be easily missed in the output.
    • We can analyze the manifests during update-repos and print a suggested .bazelrc entry.

Example:

cgrindel avatar Jan 21 '23 16:01 cgrindel