This is an archive of the discontinued Mercurial Phabricator instance.

rust: vendor pyembed crate
AbandonedPublic

Authored by indygreg on Nov 16 2019, 4:21 PM.

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.Nov 16 2019, 4:21 PM
indygreg abandoned this revision.Jan 26 2020, 1:43 AM

Modern versions of pyoxidizer don't need to vendor the pyembed crate. So abandoning this.