diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 589e3ad3..6e0cd74a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -227,7 +227,7 @@ jobs: run: cargo test --manifest-path=pyo3-macros-backend/Cargo.toml - name: Test build config - run: cargo test --manifest-path=pyo3-build-config/Cargo.toml --all-features + run: cargo test --manifest-path=pyo3-build-config/Cargo.toml - name: Test python examples and tests shell: bash diff --git a/Cargo.toml b/Cargo.toml index 0c83a75c..915008e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,7 +87,19 @@ nightly = [] # Activates all additional features # This is mostly intended for testing purposes - activating *all* of these isn't particularly useful. -full = ["macros", "pyproto", "multiple-pymethods", "num-bigint", "num-complex", "hashbrown", "serde", "indexmap", "eyre", "anyhow"] +full = [ + "macros", + "pyproto", + "multiple-pymethods", + "num-bigint", + "num-complex", + "hashbrown", + "serde", + "indexmap", + "eyre", + "anyhow", + "pyo3-build-config/export-config" +] [[bench]] name = "bench_call" diff --git a/pyo3-build-config/src/impl_.rs b/pyo3-build-config/src/impl_.rs index 03e7c563..97f5b4c2 100644 --- a/pyo3-build-config/src/impl_.rs +++ b/pyo3-build-config/src/impl_.rs @@ -1948,7 +1948,7 @@ mod tests { #[test] #[cfg(feature = "export-config")] - fn test_emit_pyo3_configs_round_trip() { + fn test_emit_pyo3_configs_roundtrip() { let interpreter = make_interpreter_config() .expect("could not get InterpreterConfig from installed interpreter"); interpreter.emit_pyo3_cfgs();