Skip to content

Commit

Permalink
Defaults to musllinux_1_2 for musl target if it's not bin bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Feb 11, 2022
1 parent 4ce4a2d commit bb0dff0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

* Add support for `pyo3-ffi` by ijl in [#804](https://github.com/PyO3/maturin/pull/804)
* Defaults to `musllinux_1_2` for musl target if it's not bin bindings in [#808](https://github.com/PyO3/maturin/pull/808)

## [0.12.9] - 2022-02-09

Expand Down
7 changes: 6 additions & 1 deletion src/build_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,12 @@ impl BuildOptions {
Some(target.get_minimum_manylinux_tag())
}
} else {
None
// Defaults to musllinux_1_2 for musl target if it's not bin bindings
if target.is_musl_target() && !matches!(bridge, BridgeModel::Bin) {
Some(PlatformTag::Musllinux { x: 1, y: 2 })
} else {
None
}
});
if platform_tag == Some(PlatformTag::manylinux1()) {
eprintln!("⚠️ Warning: manylinux1 is unsupported by the Rust compiler.");
Expand Down

0 comments on commit bb0dff0

Please sign in to comment.