Skip to content

fix(libbitcoinkernel-sys): panic with cmake output on failure#197

Draft
alexanderwiederin wants to merge 1 commit into
sedited:masterfrom
alexanderwiederin:cmake-output
Draft

fix(libbitcoinkernel-sys): panic with cmake output on failure#197
alexanderwiederin wants to merge 1 commit into
sedited:masterfrom
alexanderwiederin:cmake-output

Conversation

@alexanderwiederin

Copy link
Copy Markdown
Collaborator

Previously, cmake failures would either silently succeed (via .unwrap()) or only report a spawn error (via .expect()), making it hard to diagnose build failures. Introduce a run_cmake helper that captures stdout/stderr and includes them in the panic message if cmake exits non-zero.

As mentioned in #158 (comment)

Previously, cmake failures would either silently succeed (via
`.unwrap()`) or only report a spawn error (via `.expect()`), making it
hard to diagnose build failures. Introduce a `run_cmake` helper that
captures stdout/stderr and includes them in the panic message if cmake
exits non-zero.

Co-authored-by: Davidson-Souza <Davidson-Souza@users.noreply.github.com>
@alexanderwiederin alexanderwiederin added the no-changelog This PR does not require a CHANGELOG entry (e.g. docs, tests, CI changes). label Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This PR does not require a CHANGELOG entry (e.g. docs, tests, CI changes).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant