Skip to content

Fix some non-breaking issues with rust gencode.#15225

Merged
1 commit merged into
mainfrom
test_594236747
Dec 28, 2023
Merged

Fix some non-breaking issues with rust gencode.#15225
1 commit merged into
mainfrom
test_594236747

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Dec 28, 2023

Copy link
Copy Markdown

Fix some non-breaking issues with rust gencode.

  • Stop emitting a clear thunk for without-presence string/bytes fields (was unused, but would link-error it was used since there's no such operation).
  • Remove unused clearer_thunk variable in message.cc
  • Remove unsafe{} block surrounding non-unsafe BytesMutVTable::new
  • Add #[allow(non_snake_case)] on module names (the new mangling added in cr/593048297 puts double-underscore in names which rustc recognizes as non-snake).

@copybara-service copybara-service Bot changed the title Fix some warnings on rust gencode. Fix some non-breaking issues with rust gencode. Dec 28, 2023
- Stop emitting a clear thunk for without-presence string/bytes fields (was unused, but would link-error it was used since there's no such operation).
- Remove unused clearer_thunk variable in message.cc
- Remove unsafe{} block surrounding non-unsafe BytesMutVTable::new
- Add #[allow(non_snake_case)] on module names (the new mangling added in cr/593048297 puts double-underscore in names which rustc recognizes as non-snake).

PiperOrigin-RevId: 594287606
@copybara-service copybara-service Bot closed this pull request by merging all changes into main in 27cccac Dec 28, 2023
@copybara-service copybara-service Bot deleted the test_594236747 branch December 28, 2023 19:21
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