Skip to content

Introduce a lifetime parameter to the IR struct on the Rust IR.#1402

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_945831661
Open

Introduce a lifetime parameter to the IR struct on the Rust IR.#1402
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_945831661

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jul 10, 2026

Copy link
Copy Markdown

Introduce a lifetime parameter to the IR struct on the Rust IR.

This is the first CL in a chain to deprecate duplicate IR structures onto the Rust heap for bindings generation. We parameterize IR<'a> with a lifetime so that it can eventually wrap a borrowed IRProtoView<'a> directly. This enables the generator to read directly from FFI-passed protos.

This is the first CL in a chain to deprecate duplicate IR structures onto the Rust heap for bindings generation. We parameterize IR<'a> with a lifetime so that it can eventually wrap a borrowed IRProtoView<'a> directly. This enables the generator to read directly from FFI-passed protos.

PiperOrigin-RevId: 945831661
@copybara-service copybara-service Bot changed the title Introduce a lifetime parameter to the Rust IR struct. Introduce a lifetime parameter to the IR struct on the Rust IR. Jul 10, 2026
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.

1 participant