Skip to content

Linking with param file on Windows fails with spaces in paths #1632

@SimplyDanny

Description

@SimplyDanny

Trying to build https://github.com/apple/swift-argument-parser with Bazel fails on Windows at the linking step, because file paths in param files contain spaces that llvm-lib.exe doesn't parse as complete paths.

I tried setting windows_quoting_for_param_files at several places, but it doesn't seem to be passed on to the code handling the quoting. Other experiments also didn't work. Likely, this option is even not the right one to look at, even though it sounds related.

I'm not even sure now that rules_swift is the place where this needs to be fixed. If someone has other ideas, let me know.

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