Page MenuHomePhabricator

[keyserver] Fix rust-node-addon after deprecation of --experimental-specifier-resolution=node
ClosedPublic

Authored by ashoat on Feb 20 2023, 9:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 10:40 AM
Unknown Object (File)
Sun, Oct 27, 5:51 PM
Unknown Object (File)
Mon, Oct 21, 10:30 AM
Unknown Object (File)
Mon, Oct 21, 10:30 AM
Unknown Object (File)
Sun, Oct 20, 1:21 AM
Unknown Object (File)
Fri, Oct 18, 3:24 AM
Unknown Object (File)
Fri, Oct 18, 3:24 AM
Unknown Object (File)
Fri, Oct 18, 3:24 AM
Subscribers

Details

Summary

Context in ENG-3059. rust-node-addon was broken by D6695, but --experimental-specifier-resolution=node is going away so we need another solution.

I got this solution from this GitHub comment.

Depends on D6783

Test Plan

Confirm I could import rust-node-addon and call methods on it from @jon's jonringer/identity-deleteuserrpc branch

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 20 2023, 10:08 AM
Harbormaster failed remote builds in B16624: Diff 22731!

Flow had an error because it thinks import.meta.url might not be set, so I added an invariant to make sure it is always set

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 20 2023, 11:06 AM
Harbormaster failed remote builds in B16626: Diff 22734!

Rebase on D6785 to fix iOS CI build

Forced call to getRustAPI() on master, asserted it was broken, patch this in, and fixed the call.

This revision is now accepted and ready to land.Feb 20 2023, 12:15 PM