RS
RS
It looks like most of the issues I'm hitting at least have PRs in the SWIG repo, so hopefully things will get fixed up from that end. https://github.com/swig/swig/labels/C%2B%2B11
> How do you build `cxxbridge-cmd`? In MODULE.bazel ``` # # The codegen tool needed by cxx. # http_archive( name = "cxxbridge-cmd", build_file_content = """ load("@rules_rust//rust:defs.bzl", "rust_binary") load("@cxxbridge_cmd_deps//:defs.bzl", "aliases", "all_crate_deps")...
OK, this works now. Maybe the docs use this as an example? It's pretty sparse right now. ``` # # The codegen tool needed by cxx. # CXX_BRIDGE_VERSION = "1.0.190"...
I also had to call the `rust_cxx_bridge` macro this way, so that "cxx.h" would be available. ``` rust_cxx_bridge( name = "bridge", src = "src/lib.rs", deps = [ "//3rdparty/crates:cxx_cc", ], )...