Skip to content

Conversation

@stuqdog
Copy link
Member

@stuqdog stuqdog commented Nov 19, 2025

No description provided.

@stuqdog stuqdog marked this pull request as ready for review November 19, 2025 20:53
@stuqdog stuqdog requested a review from a team as a code owner November 19, 2025 20:53
@stuqdog stuqdog requested review from allisonschiang and lia-viam and removed request for a team November 19, 2025 20:53
@stuqdog
Copy link
Member Author

stuqdog commented Nov 19, 2025

cc @acmorrow

Copy link
Member

@acmorrow acmorrow left a comment

Choose a reason for hiding this comment

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

This looks great!

Comment on lines +43 to +44
viam_free_string(p);
viam_free_rust_runtime(rust_runtime);
Copy link
Member

Choose a reason for hiding this comment

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

I think the next step along these lines is to introduce a rust_utils.hpp header, which wraps up the C API into nice C++ types. That though can probably live in the C++ SDK, since if you are using rust utils from C++ you are I'd say 99% of the time using the C++ SDK.

@stuqdog stuqdog merged commit d41a368 into viamrobotics:main Nov 21, 2025
5 checks passed
@stuqdog stuqdog deleted the RSDK-12650-use-rust-utils-header branch November 24, 2025 22:05
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.

3 participants