Skip to content

Initial UniFFI C++ Bindgen - #1389

Draft
alan-george-lk wants to merge 2 commits into
mainfrom
alan/feature-uniffi-cpp
Draft

Initial UniFFI C++ Bindgen#1389
alan-george-lk wants to merge 2 commits into
mainfrom
alan/feature-uniffi-cpp

Conversation

@alan-george-lk

@alan-george-lk alan-george-lk commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Testing

@alan-george-lk
alan-george-lk force-pushed the alan/feature-uniffi-cpp branch 2 times, most recently from 54329d0 to a6646fa Compare September 8, 2026 22:05
@alan-george-lk alan-george-lk changed the title WIP: livekit-uniffi: C++ bingden support livekit-uniffi: add experimental C++ bindings smoke test Sep 8, 2026
@alan-george-lk
alan-george-lk force-pushed the alan/feature-uniffi-cpp branch from 3674716 to a2f8242 Compare September 9, 2026 15:11
@alan-george-lk
alan-george-lk force-pushed the alan/feature-uniffi-cpp branch from a2f8242 to e7bc2c4 Compare September 9, 2026 20:08
@alan-george-lk alan-george-lk changed the title livekit-uniffi: add experimental C++ bindings smoke test Initial UniFFI C++ Bindgen Sep 10, 2026
Comment thread tools/bindgens/Cargo.toml
# uniffi-exposing crates (livekit-ffi, livekit-uniffi, ...). It has no library
# target — the bindgens read metadata from an already-compiled cdylib via
# `--library`, so they never depend on the crates they generate for.
# Tooling crate: each bin is a code-generation CLI shared across the workspace.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think AI adjusted this because I told it I wasn't leveraging livekit-uniffi anymore, I can revert

@1egoman 1egoman Sep 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea I think reverting that makes sense!

Comment thread tools/bindgens/Cargo.toml
# uniffi-exposing crates (livekit-ffi, livekit-uniffi, ...). It has no library
# target — the bindgens read metadata from an already-compiled cdylib via
# `--library`, so they never depend on the crates they generate for.
# Tooling crate: each bin is a code-generation CLI shared across the workspace.

@1egoman 1egoman Sep 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea I think reverting that makes sense!

Comment on lines +29 to +30
const REPOSITORY: &str = "https://github.com/alan-george-lk/uniffi-bindgen-cpp.git";
const REVISION: &str = "7d54c1c56e0e4c46772ef4c2b5be3cb26396cbdb";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: If this will be long lived, it probably makes sense to move this under https://github.com/livekit and move to an explicit tag once it is stable?

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