Closed ghost closed 6 months ago
Hi @thb-sb!
Thank you for your pull request and welcome to our community.
In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.
In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.
Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed
. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.
If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Hi sapling team! 👋
I've seen that the file I've modified is generated by some internal tool you have (I guess autocargo
?), but I couldn't find the original files used by that generator.
If you can provide me with some hints I could make it right!
I've imported your PR and turned the features off in the underlying build file. Thanks!
@muirdm merged this pull request in facebook/sapling@01313b573e830619dfbc76c729b5c2b91f8c4569.
Commit
dc45ccb
introducedpygitcompat
to talk to git from python.extension-module
is enabled:https://github.com/facebook/sapling/blob/dc45ccbbc2bafb850e4535159d6c96793f27738e/eden/scm/saplingnative/bindings/modules/pygitcompat/Cargo.toml#L10
which ultimately enables
python3-sys/extension-module
.According to the
python3-sys
documentation,extension-module
prevents the final artifact from being linked against the shared Python library:It leads to a bug where the final binary
sl
is not linked against Python:This commit removes the
extension-module
feature flag to link again against libpython: