Comments (9)
I believe it's this: bazelbuild/bazel@a60b6ce
There have been a number of changes to the C++ providers recently that I've been waiting to become finalized enough that I can adopt them.
from rules_swift.
Confirmed that setting --no incompatible_disable_legacy_cc_provider
works around this
from rules_swift.
Is this something we can migrate now? Or would we have to support both at once? I haven't looked for when the new providers were added
from rules_swift.
It looks like the same conversation is happening here bazelbuild/bazel#7036 (comment)
from rules_swift.
@allevato is this something you're planning on working on before the 0.22 release?
from rules_swift.
I'll start working on the migration this week, but the currently released version of Bazel that we use internally doesn't yet include the above commit yet, so I can't release anything until we catch up to that.
I looked into support both simultaneously, but the effort would be fairly large since the old- and new-style providers are very different, and I can't rationalize that amount of effort for a short-term workaround.
If Bazel releases 0.22 before I'm able to fully test the change internally and push it out, then I'd recommend using --noincompatible_disable_legacy_cc_provider
until rules_swift can be updated.
from rules_swift.
I've commented on the linked issue asking about the migration window, it doesn't seem like 0.22 has the necessary files I expected. I've submitted a first pass PR for this that is compatible with bazel HEAD right now #129
from rules_swift.
My PR is green now so we should be good for compatibility with 0.22!
from rules_swift.
I believe this is resolved now.
from rules_swift.
Related Issues (20)
- Duplicate symbol error when migrating to bzlmod HOT 4
- Error adding "apple_core_data_model" dependency to "swift_library" HOT 10
- CC_Library without a tag does not generate a ModuleMap HOT 6
- 'apple_cc_toolchain' is not defined in CI at Bazel@HEAD HOT 1
- Swift Macro - cc_wrapper.sh failed: error executing CppLink command HOT 6
- [Feature Request] Mixed language(C and Swift) swift_library support HOT 4
- Umbrella `objc_library` in `experimental_mixed_language_library` produces malformed `.swift.modulemap` HOT 3
- "Operation not permitted" when switching to `-swift.emit_swiftsourceinfo`, `swift.emit_swiftdoc`
- `swift.vfsoverlay` breaks `-strict-concurrency` checking HOT 4
- Add example of Swift <--> C++ interop HOT 3
- swift_rules_extra_dependencies() fails with rules_proto 6.0.0
- Add `@build_bazel_rules_swift//swift:defs.bzl` HOT 2
- Rename workspace name to `rules_swift` HOT 1
- Unable to compile Swift files with system-provided Swift Macro like #Preview when sandboxing is enabled
- Remove direct uses of :protoc binary HOT 3
- XCode SDK's aren't visible in Sandboxed mode HOT 3
- Rules Swift Package Manager transitive deps no longer compile correctly
- Obtaining a Backtrace after swift_test failure HOT 2
- Create migration guide for rules_swift 2.x HOT 6
- 3.0 breaking changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_swift.