Skip to content

Commit

Permalink
Merge pull request #2253 from ravenexp/target-lexicon
Browse files Browse the repository at this point in the history
pyo3-build-config: Replace `TargetInfo` with `target_lexicon::Triple`
  • Loading branch information
adamreichold committed Apr 1, 2022
2 parents 78efebd + 9b45a19 commit 601e3d6
Show file tree
Hide file tree
Showing 5 changed files with 389 additions and 197 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Add new public `pyo3-build-config` API using the types from `target_lexicon` crate. Deprecate `cross_compiling()`. [#2253](https://github.com/PyO3/pyo3/pull/2253)
- Allow dependent crates to access config values from `pyo3-build-config` via cargo link dep env vars. [#2092](https://github.com/PyO3/pyo3/pull/2092)
- Added methods on `InterpreterConfig` to run Python scripts using the configured executable. [#2092](https://github.com/PyO3/pyo3/pull/2092)
- Added FFI definitions for `PyType_FromModuleAndSpec`, `PyType_GetModule`, `PyType_GetModuleState` and `PyModule_AddType`. [#2250](https://github.com/PyO3/pyo3/pull/2250)
Expand Down
4 changes: 4 additions & 0 deletions pyo3-build-config/Cargo.toml
Expand Up @@ -12,6 +12,10 @@ edition = "2018"

[dependencies]
once_cell = "1"
target-lexicon = "0.12"

[build-dependencies]
target-lexicon = "0.12"

[features]
default = []
Expand Down

0 comments on commit 601e3d6

Please sign in to comment.