Open the-ica opened 3 years ago
I am also having this problem but I haven't changed the sample rust project except for enabling jemalloc in Cargo.toml. Ubuntu 18.04.5 Rust 1.49.0 PyOxidizer 0.10.3
What particularly bugs me about this is that the documentation mentions many times in relation to mixed python-rust projects to use pyoxidizer
rather than cargo
to build in order to perform many key steps you would otherwise need to glue together yourself, but doing so doesn't utilize any of your Rust code at all!
Here's how I work around it: https://github.com/indygreg/PyOxidizer/pull/466
pyoxidizer init-rust-project pyapp
I then modified src/main.rs :
but when running
pyoxidizer run
I get the same python REPL as without modification !
And also,
cargo run --features jemalloc build-mode-pyoxidizer-exe
fail with
That may be normal, but nothing tell me why in the doc.
I'm using ubuntu 20.04 and rust/cargo 1.47