Page MenuHomePhabricator

[native/rust_library] Adding CXX bridge names for C++ Identity service client functions
ClosedPublic

Authored by max on Dec 21 2022, 4:54 AM.
Tags
None
Referenced Files
F2155684: D5969.id20020.diff
Sun, Jun 30, 10:12 PM
F2151673: D5969.id.diff
Sun, Jun 30, 1:11 PM
Unknown Object (File)
Sat, Jun 29, 9:36 PM
Unknown Object (File)
Sat, Jun 29, 7:40 AM
Unknown Object (File)
Sat, Jun 29, 12:01 AM
Unknown Object (File)
Fri, Jun 28, 7:10 PM
Unknown Object (File)
Fri, Jun 28, 12:24 PM
Unknown Object (File)
Wed, Jun 26, 10:35 PM
Subscribers

Details

Summary

This diff introduces adding the C++ names for the exposed Rust functions which will override the Rust function names to meet our C++ function names convention and make their usage in the C++ codebase clear.

Linear task: ENG-1333

Test Plan

Rust library and native app are successfully built.

Diff Detail

Repository
rCOMM Comm
Branch
restruct-native-rust-library-add-namespace
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
max retitled this revision from [native/rust_library] Adding namespaces for C++ bridge for Identity service functions to [native/rust_library] Adding CXX bridge names for C++ Identity service client functions.Dec 21 2022, 5:15 AM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added reviewers: varun, jon.

Removing global namespace.

max published this revision for review.Dec 21 2022, 6:04 AM
This revision is now accepted and ready to land.Dec 21 2022, 1:37 PM

Rebasing and merging on master changes.

This revision now requires review to proceed.Dec 23 2022, 9:15 AM

Adding @tomek for a final pass as this change touches JSI, and C++ native side names.

tomek added inline comments.
native/native_rust_library/src/lib.rs
1–2 ↗(On Diff #20020)

Why this change is included in this diff?

This revision is now accepted and ready to land.Dec 27 2022, 4:13 AM

Removing moving of uses in the header.

max added inline comments.
native/native_rust_library/src/lib.rs
1–2 ↗(On Diff #20020)

Why this change is included in this diff?

This is about organizing uses in one place, fixed by the linter, but it's better to move it into a separate diff. Thanks.