Skip to content

[IR/public] Some guards in FunctionBuilder to avoid crashes and xls_type_get_flat_bit_count C API. #2241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

cdleary
Copy link
Collaborator

@cdleary cdleary commented May 22, 2025

No description provided.

…ype_get_flat_bit_count C API.

(Things added in the course of developing the Rust crate, eliminates some
downstream divergence.)
@cdleary cdleary changed the title Cdleary/2025 05 22 type get flat bit count [IR/public] Some guards in FunctionBuilder to avoid crashes and xls_type_get_flat_bit_count C API. May 22, 2025
@cdleary cdleary marked this pull request as ready for review May 22, 2025 16:28
@@ -286,17 +286,6 @@ TEST(XlsCApiTest, ParseTypedValueAndFreeIt) {
xls_value_free(value);
}

// Helper for invoking APIs where we want to immediately free the C-API-provided
Copy link
Member

Choose a reason for hiding this comment

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

q: was this dead code?

@proppy proppy requested a review from meheff May 23, 2025 06:09
@copybara-service copybara-service bot merged commit 66ab872 into google:main May 29, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants