Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

emilk
Copy link
Member

@emilk emilk commented Aug 27, 2025

We previously would always compile the Rust-side of our C++ SDK in release mode. This meant that things like debug_assert! wasn't active in e.g. our C++ unit tests.

Our pixi.toml sets --config Debug and --config Release in the right places, and I've checked that those are indeed respected.

Other smaller improvements

  • Better error messages around string arguments
  • Better error messages if there is a panic or SIGSEGV in the Rust code

@emilk emilk added sdk-cpp C/C++ API specific include in changelog labels Aug 27, 2025
Copy link

github-actions bot commented Aug 27, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
2173d1e https://rerun.io/viewer/pr/11023 +nightly +main

Note: This comment is updated whenever you push a commit.

@emilk emilk changed the title Respect CMAKE_BUILD_TYPE_LOWER when building the Rust code Respect CMAKE_BUILD_TYPE when building the Rust code Aug 27, 2025
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

nice!

@Wumpf Wumpf merged commit 6313335 into main Aug 28, 2025
48 checks passed
@Wumpf Wumpf deleted the emilk/debug-build-cpp-sdk branch August 28, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants