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)
Sat, May 11, 10:18 AM
Unknown Object (File)
Sat, May 11, 10:18 AM
Unknown Object (File)
Sat, May 11, 5:22 AM
Unknown Object (File)
Sat, May 11, 5:22 AM
Unknown Object (File)
Sat, May 11, 12:07 AM
Unknown Object (File)
Sat, May 11, 12:07 AM
Unknown Object (File)
Wed, May 8, 9:14 AM
Unknown Object (File)
Tue, May 7, 2:07 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
Lint Not Applicable
Unit
Tests Not Applicable

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