Page MenuHomePhabricator

[services] Rust Integration - Backup - Rust - Add converting functions
ClosedPublic

Authored by karol on Sep 2 2022, 3:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 4:32 PM
Unknown Object (File)
Fri, Nov 15, 6:11 AM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Thu, Nov 7, 9:26 PM
Unknown Object (File)
Sat, Nov 2, 9:07 AM
Unknown Object (File)
Mon, Oct 28, 1:06 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM

Details

Summary

Depends on D5031

Adding helper functions to convert between rust's String and c++'s char* both ways.

Test Plan

backup builds successfully

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested changes to this revision.Sep 5 2022, 7:49 AM
tomek added inline comments.
services/backup/blob_client/src/tools.rs
37 ↗(On Diff #16233)

We should avoid using unwrap

This revision now requires changes to proceed.Sep 5 2022, 7:49 AM
services/backup/blob_client/src/tools.rs
37 ↗(On Diff #16233)

Right, I will fix this.

tomek added inline comments.
services/backup/blob_client/src/tools.rs
1 ↗(On Diff #16356)

Do we need this line?

23–25 ↗(On Diff #16356)

This should be formatted in the diff that introduced this code.

35 ↗(On Diff #16356)

This line seems to be too long - is it formatted?

This revision is now accepted and ready to land.Sep 7 2022, 6:02 AM
services/backup/blob_client/src/tools.rs
1 ↗(On Diff #16356)

Apparently, no. Weird that cargo check didn't catch this.

35 ↗(On Diff #16356)

will do

This revision was landed with ongoing or failed builds.Sep 8 2022, 4:10 AM
This revision was automatically updated to reflect the committed changes.