ITADN

Linking with param file on Windows fails with spaces in paths

#1632OpenSimplyDanny 创建于 2025-12-17
S
SimplyDannycommented
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.
2 条评论