Page MenuHomePhabricator

rust: vendor pyembed crate
Changes PlannedPublic

Authored by indygreg on Fri, Nov 15, 12:00 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

We want to use PyOxidizer to produce machine native executables
for running Mercurial. This commit starts the process of doing
that.

Under the hood, PyOxidizer uses a "pyembed" crate to manage an
embedded Python interpreter. This crate needs to be vendored
because it relies on a patched version of the rust-cpython
crate.

This commit vendors the pyembed crate associated with version
0.3 of PyOxidizer.

Diff Detail

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

Event Timeline

indygreg created this revision.Fri, Nov 15, 12:00 AM
indygreg planned changes to this revision.Fri, Nov 15, 12:03 AM

We'll want to hold off on this until PyOxidizer is ready. And hopefully I can land the necessary changes to rust-cpython to avoid having to vendor this crate. I should try to get those patches landed upstream...