Skip to content

Update cxxbridge-cmd example. - #3745

Closed
sayrer wants to merge 1 commit into
bazelbuild:mainfrom
sayrer:update_cxx_example
Closed

Update cxxbridge-cmd example.#3745
sayrer wants to merge 1 commit into
bazelbuild:mainfrom
sayrer:update_cxx_example

Conversation

@sayrer

@sayrer sayrer commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

This is just a start. I am not sure how the lockfiles in examples/using_cxx were generated. This does work for me, but I don't have all the lockfiles that the examples do.

@sayrer

sayrer commented Nov 27, 2025

Copy link
Copy Markdown
Contributor Author

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",
    ],
)

@UebelAndre

Copy link
Copy Markdown
Collaborator

This was done as part of #3867

@UebelAndre UebelAndre closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants