( )⚙ D11955 rust: fix build errors on darwin

This is an archive of the discontinued Mercurial Phabricator instance.

rust: fix build errors on darwin
ClosedPublic

Authored by danchr on Dec 30 2021, 8:08 AM.

Details

Summary

I'm not all _that_ versed in Rust, but I think the root cause is that
some constants are u16 rather than u32 on Darwin. I checked that the
code still compiles on the latest Ubuntu.

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

danchr created this revision.Dec 30 2021, 8:08 AM
danchr added a comment.Jan 4 2022, 4:12 AM

This also occurs on FreeBSD 13.

danchr updated this revision to Diff 31583.Jan 4 2022, 11:39 AM
danchr updated this revision to Diff 31584.Jan 4 2022, 12:02 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.