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
F3491032: D5969.id20250.diff
Wed, Dec 18, 6:16 PM
F3491031: D5969.id20247.diff
Wed, Dec 18, 6:16 PM
F3491030: D5969.id19943.diff
Wed, Dec 18, 6:16 PM
F3491029: D5969.id19940.diff
Wed, Dec 18, 6:16 PM
F3491028: D5969.id19937.diff
Wed, Dec 18, 6:16 PM
F3491027: D5969.id20020.diff
Wed, Dec 18, 6:16 PM
F3488664: D5969.id.diff
Wed, Dec 18, 10:59 AM
Unknown Object (File)
Sat, Dec 14, 7:11 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.