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
Unknown Object (File)
Wed, Nov 13, 5:20 AM
Unknown Object (File)
Mon, Nov 11, 1:54 PM
Unknown Object (File)
Sun, Nov 10, 5:55 PM
Unknown Object (File)
Fri, Nov 8, 7:25 AM
Unknown Object (File)
Fri, Nov 8, 4:00 AM
Unknown Object (File)
Thu, Nov 7, 1:18 AM
Unknown Object (File)
Wed, Nov 6, 6:30 AM
Unknown Object (File)
Wed, Nov 6, 6:29 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.