Skip to content

Propagate must_bind_ flag to ImportUnsupportedItem in FunctionDeclImporter.#936

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_907415097
May 5, 2026
Merged

Propagate must_bind_ flag to ImportUnsupportedItem in FunctionDeclImporter.#936
copybara-service[bot] merged 1 commit intomainfrom
test_907415097

Conversation

@copybara-service
Copy link
Copy Markdown

Propagate must_bind_ flag to ImportUnsupportedItem in FunctionDeclImporter.
This ensures that failure to bind a function annotated with CRUBIT_MUST_BIND
results in a hard error during analysis, rather than generating invalid bindings.

Also updated ImportContext interface and Importer implementation to support
passing is_hard_error to ImportUnsupportedItem.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 4, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…clImporter`.

This ensures that failure to bind a function annotated with `CRUBIT_MUST_BIND`
results in a hard error during analysis, rather than generating invalid bindings.

Also updated `ImportContext` interface and `Importer` implementation to support
passing `is_hard_error` to `ImportUnsupportedItem`.

PiperOrigin-RevId: 910551184
@copybara-service copybara-service Bot merged commit 0cd000e into main May 5, 2026
@copybara-service copybara-service Bot deleted the test_907415097 branch May 5, 2026 09:59
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.

0 participants