rules_swift
rules_swift copied to clipboard
Warning / error paths in Xcode 13 are absolute
This breaks IDE integrations. I imagine it's a Swift change that we should fix upstream, or workaround in the worker.
Related https://github.com/bazelbuild/tulsi/issues/262
https://bugs.swift.org/browse/SR-15123
@rsahara can you verify your case is the same as mine by building with --features=-swift.vfsoverlay (this will negatively impact build performance)
@keith Yes, it's the same issue. I tested it just now:
--features=swift.vfsoverlay(our current config) -> absolute path & the error messages don't appear on the editor (Xcode13)--features=-swift.vfsoverlay-> relative path & the error messages appear on the editor (Xcode13)
Thank you for reporting the problem.
Thanks for checking, hopefully we can get somewhere on a fix
I've submitted https://reviews.llvm.org/D109128, which does appear to fix the issue, but I'm not convinced it's the right fix, we'll see what feedback I get there
My fix was merged into apple/llvm-project and I believe is slated to be in Swift 5.6. The Swift 5.5 backport has gotten no response