Repository navigation
Replies: 1 comment 6 replies
|
The steps how to do this seem to be pretty well documented on https://pyo3.rs/main/building_and_distribution.html#cross-compiling So, should be something like [build]
pre-build = "apt-get update && apt-get -y install python3.7"
[build.env]
passthrough = [
"PYO3_CROSS=1",
] |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there!
We are trying to cross-compile pyo3 to embed a python interpreter in our rust binary, this is proving to be a challenge and I was wondering if someone else had that working? We will have to build custom images, but any tips is appreciated.
Thanks
All reactions