-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail when the swift.cacheable_swiftmodules
feature is enabled
#334
Comments
@jschear thanks so much for reporting this. I can reproduce this as well 👍 What's interesting to me it doesn't provide more info about why it can't load Generally the rules should work in a variety of flags, but are tested with only a subset of the permutations. This said for better coverage, maybe it makes sense to run all tests under a couple different permutations various people are using. |
@jschear I believe this issue you've reported is unrelated to virtual frameworks, mainly because I can repro this issue on a very old commit way before it was added: Additionally, I re-ran the example you posted and noticed there was a typo in the name ( the feature is Let me update the issue to clarify this: I think this further strengthens the case to run with various incatations of bazel config and possibly provide that as a feature |
swift.cacheable_swiftmodules
feature is enabled along with apple.virtual_frameworks
swift.cacheable_swiftmodules
feature is enabled
🤦 Sorry I mistyped! (I edited the initial report to reflect that this occurs even without the virtual frameworks feature.) |
To reproduce:
master
)bazel build //tests/ios/... --features=swift.cacheable_swiftmodules
I've dug into this a bit -- my current (and somewhat vague) theory is:
.swiftmodule
s when the-serialize-debugging-options
swift compiler frontend option is used.swift.cacheable_swiftmodules
disables-serialize-debugging-options
, exposing the issue.I think #333 partially resolves this, but I can still reproduce the issue on that branch.
The text was updated successfully, but these errors were encountered: