Skip to content

Commit

Permalink
pyo3-build-config: make interpreter config and references types public
Browse files Browse the repository at this point in the history
PyOxidizer will want to create interpreter config files. Rather
than reinvent the logic for reading/writing these files, I think
it makes sense to consume the `pyo3-build-config` crate so we can
use the `InterpreterConfig` type directly. But the symbol needs
to be public to allow us to do that. And in order to allow direct
construction, we need to make all the types referenced by its fields
public as well.
  • Loading branch information
indygreg committed Aug 30, 2021
1 parent b7c62b8 commit 62e1342
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pyo3-build-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ use std::io::Cursor;

use once_cell::sync::OnceCell;

use impl_::InterpreterConfig;

// Used in `pyo3-macros-backend`; may expose this in a future release.
#[doc(hidden)]
pub use impl_::PythonVersion;
pub use impl_::{BuildFlag, BuildFlags, InterpreterConfig, PythonImplementation, PythonVersion};

/// Adds all the [`#[cfg]` flags](index.html) to the current compilation.
///
Expand Down

0 comments on commit 62e1342

Please sign in to comment.