cxx icon indicating copy to clipboard operation
cxx copied to clipboard

Publish to Bazel Central Registry

Open dtolnay opened this issue 3 years ago • 1 comments

With a suitable MODULE.bazel, we should be able to make a rust_cxx_bridge rule easily available for Bzlmod users.

https://github.com/bazelbuild/bazel-central-registry https://bazel.build/build/bzlmod

For now this is blocked on Bzlmod support in https://github.com/bazelbuild/rules_rust/issues/1493.

dtolnay avatar Sep 14 '22 08:09 dtolnay

Given #1294 has merged, is it possible that this will get published to the central registry?

I've been trying to get this working using git_override and struggling a bit, though I'm pretty new to Bazel. I'm curious if this is an intended way to use cxx in a Bazel project.

tel avatar May 15 '24 03:05 tel

@tel I was able to use cxx with git_override like this: https://github.com/maplibre/maplibre-native/blob/527e70b6fa7f2ff1d3c7546f1773c5404b8a3733/MODULE.bazel#L65-L70

louwers avatar Jan 16 '25 15:01 louwers

I made https://github.com/dtolnay/cxx/pull/1466 so that the repo could be directly published going forward.

UebelAndre avatar Mar 13 '25 16:03 UebelAndre