Skip to content

Add support for unsafe constructor bindings and fix passing convention thunks#914

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

Add support for unsafe constructor bindings and fix passing convention thunks#914
copybara-service[bot] merged 1 commit intomainfrom
test_907735406

Conversation

@copybara-service
Copy link
Copy Markdown

Add support for unsafe constructor bindings and fix passing convention thunks

This commit adds UnsafeCtorNew and UnsafeFrom traits to handle constructors with unsafe parameters, and fixes layout compatible or ctor passing convention thunks for C ABI compatible types.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 29, 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.

@copybara-service copybara-service Bot force-pushed the test_907735406 branch 5 times, most recently from dfb3a50 to 5bbbe0f Compare May 5, 2026 10:48
…n thunks

This commit adds UnsafeCtorNew and UnsafeFrom traits to handle constructors with unsafe parameters, and fixes layout compatible or ctor passing convention thunks for C ABI compatible types.

PiperOrigin-RevId: 910572992
@copybara-service copybara-service Bot merged commit 24f8312 into main May 5, 2026
@copybara-service copybara-service Bot deleted the test_907735406 branch May 5, 2026 10:52
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