Another question is about how practical it is to u...
# general
a
Another question is about how practical it is to use C++ support...
here is what I found: pants.backend.experimental.cc https://www.pantsbuild.org/dev/docs/using-pants/key-concepts/backends#available-experimental-backends ”But experimental does NOT mean that a backend is "lesser" in some way. It doesn't designate "alpha" or "beta" quality - we use alpha and rc releases for that. It doesn't mean that you should expect errors. It just means that the API —such as BUILD file definitions and output paths — might change without a deprecation cycle (there will still be warnings in the changelog).” https://www.pantsbuild.org/blog/2022/11/21/quick-feedback-on-new-features-via-experimental-backends#dont-fear-the-experiment however there is not much activity, it seems: https://github.com/pantsbuild/pants/discussions/15499
Is there any support for using bazel rules within pants?
w
I think @fast-nail-55400 might know more about bazel within pants (or similar) using workspace environments. I've never used it, so I can't really speak to it. The making-public of the C/C++ work got de-railed with other work/personal obligations, but I use the CC backend on my private projects
A complete-r version of the CC backend, more precisely. So, super tailored to my workflows (embedded and as a core lib for other languages)
a
Thank you for the insight!
w
My recommendation in the short-term might be to try using the
adhoc_tool
to use something else (e.g. Cmake or whatever) as a build system, and pull in the assets you require after that runs. Workspace might be better to mix with Bazel, but yeah, I'm not the person who would know that
gratitude thank you 1
f
Recent blog post on using a workspace environment to integrate with Bazel: https://www.pantsbuild.org/blog/2024/12/04/workspace-environments
👍 1
❤️ 1