Doc: add a note about Rustc's minimum MACOSX_DEPLOYMENT_TARGET requirement (#2326)
* doc: add a note about rustc's minimum MACOSX_DEPLOYMENT_TARGET requirement * Update docs/platforms/macos.md * Update faq.md --------- Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
co-authored by
Henry Schreiner
parent
be2a707315
commit
fccd32f9b2
+10
-1
@@ -294,7 +294,16 @@ CIBW_BEFORE_ALL_WINDOWS: rustup target add i686-pc-windows-msvc
|
||||
CIBW_ENVIRONMENT_LINUX: "PATH=$HOME/.cargo/bin:$PATH"
|
||||
```
|
||||
|
||||
Rust does not provide Cargo for musllinux 32-bit, so that needs to be skipped:
|
||||
Rust's minimum macOS target is 10.12, while CPython supports 10.9 before
|
||||
Python 3.12, so you'll need to raise the minimum:
|
||||
|
||||
```toml
|
||||
[tool.cibuildwheel.macos.environment]
|
||||
MACOSX_DEPLOYMENT_TARGET = "10.12"
|
||||
```
|
||||
|
||||
And Rust does not provide Cargo for musllinux 32-bit, so that needs to be
|
||||
skipped:
|
||||
|
||||
```toml
|
||||
[tool.cibuildwheel]
|
||||
|
||||
Reference in New Issue
Block a user