pyo3/pyo3-build-config
Sergey Kvachonok ccda497e04 pyo3-build-config: Create per-target cross config files
Rename `$OUT_DIR/pyo3-cross-compile-config.txt` to
`$OUT_DIR/<triple>/pyo3-build-config.txt` to exclude the possibility
of using stale build configuration data when the build target changes.

Use the presence of the corresponding build configuration file
in the `pyo3-build-config` build script output directory
to detect whether we are cross compiling or not.

This patch enables cross compilation without using
any of `PYO3_CROSS_*` env variables in many cases.
2022-04-01 11:32:46 +03:00
..
src pyo3-build-config: Create per-target cross config files 2022-04-01 11:32:46 +03:00
Cargo.toml pyo3-build-config: Replace `TargetInfo` with `target_lexicon::Triple` 2022-04-01 09:36:49 +03:00
LICENSE pyo3-build-config: new crate to re-use build.rs across crates 2021-05-20 09:03:33 +01:00
build.rs python: drop support for 3.6 2021-11-20 13:02:42 +00:00