cross-compiling to win no longer possible with the new sdk #2118
Labels
bug
Something isn't working
cross-compile
Something related to cross compilation
upstream
Upstream issue
Bug Description
When trying to cross-compile windows binaries on linux I am receiving the error:
See upstream issue on cargo-xwin: Jake-Shadle/xwin#126
The proposed solution is to provide the sdk version using the --sdk-version command line argument, but it's not clear how to pass it via maturin.
Your maturin version (
maturin --version
)1.6.0
Your Python version (
python -V
)3.11
Your pip version (
pip -V
)23.0.1
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
maturin build --release --target x86_64-pc-windows-msvc -i python3.11
The text was updated successfully, but these errors were encountered: