$ CARGO=cross maturin build -r
πΉ Building a mixed python/rust project
π Found pyo3 bindings with abi3 support for Python β₯ 3.8
π Not using a specific python interpreter
error: manifest path `/home/xecycle/<REDACTED>/Cargo.toml` does not exist
π₯ maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `env -u CARGO "cross" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/home/xecycle/<REDACTED>/Cargo.toml" "--release" "--lib"`
Inside cross container the project should be at /project, and thus manifest path should be /project/Cargo.toml.
Your maturin version (maturin --version)
1.5.1
Your Python version (python -V)
3.8.18
Your pip version (pip -V)
24.0
What bindings you're using
pyo3
Does cargo build work?
[X] Yes, it works
If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?
Bug Description
Inside cross container the project should be at
/project
, and thus manifest path should be/project/Cargo.toml
.Your maturin version (
maturin --version
)1.5.1
Your Python version (
python -V
)3.8.18
Your pip version (
pip -V
)24.0
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
Project directory layout is like
and pyproject.toml contains
Run
CARGO=cross maturin build -r
.cross version is 0.2.5.