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
F2137781: D5969.diff
Fri, Jun 28, 7:10 PM
F2135703: D5969.id19943.diff
Fri, Jun 28, 12:24 PM
Unknown Object (File)
Wed, Jun 26, 10:35 PM
Unknown Object (File)
Wed, Jun 26, 2:50 AM
Unknown Object (File)
Mon, Jun 24, 5:28 PM
Unknown Object (File)
Sun, Jun 23, 3:09 AM
Unknown Object (File)
Sat, Jun 22, 2:21 PM
Unknown Object (File)
Fri, Jun 21, 3:21 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

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

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.