HomePhabricator
Diffusion Comm 6eb6d5a221b5

[native] use build configuration to set socket addr

Description

[native] use build configuration to set socket addr

Summary:
Depends on D10186

Set the default socket address depending on the build configuration. We use staging for debug builds and prod for release builds. This mirrors the defaults on keyserver.

Test Plan:
the newly added unit test passed

after building with and without a JSON file present, and with/without --release, i made sure the correct IDENTITY_SOCKET_ADDR value was present

Reviewers: bartek, michal

Reviewed By: bartek, michal

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10187

Details

Provenance
varunAuthored on Dec 4 2023, 9:59 PM
Reviewer
bartek
Differential Revision
D10187: [native] use build configuration to set socket addr
Parents
rCOMM9d57f4c1ed32: [native] native_rust_library debug builds
Branches
Unknown
Tags
Unknown