2 ms·
Okay, yup, you're right, the C dependency stuff is gazelle. I'll still claim the meat of what I said was correct: > If bazel allows impurely using that depend
by TheDong 2y ago
Okay, yup, you're right, the C dependency stuff is gazelle.
I'll still claim the meat of what I said was correct:
> If bazel allows impurely using that dependency from the host, like bazel allows for python, then you'll be able to run into similar issues.
> Admittedly, you'll usually get compilation errors for undefined references in compiled languages (modulo dlopen)
That's the important bit of my comment, and it indeed seems true that bazel, as commonly used for go with gazelle, does allow and even facilitate those impure references to host dependencies, so even though I didn't understand the details of it fully, my overall point seems entirely accurate.
I appreciate you taking the time to explain things in more detail and share some advice/wisdom on dealing with this!