Skip to content

Commit

Permalink
Merge pull request private-attribution#1378 from akoshelev/descr-gate…
Browse files Browse the repository at this point in the history
…-compile-check

Fix pre-commit script
  • Loading branch information
akoshelev authored Oct 26, 2024
2 parents 6e7bc84 + 4549440 commit 6b81609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ipa-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ macro_rules! mutually_incompatible {
}

mutually_incompatible!("in-memory-infra", "real-world-infra");
#[cfg(not(any(compact_gate, descriptive_gate)))]
compile_error!("At least one of `compact_gate` or `descriptive_gate` features must be enabled");

#[cfg(test)]
mod tests {
Expand Down
2 changes: 1 addition & 1 deletion pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ then
cargo test -p ipa-core --no-default-features --features "cli web-app real-world-infra test-fixture compact-gate"

check "Web tests (descriptive gate)" \
cargo test -p ipa-core --no-default-features --features "cli web-app real-world-infra test-fixture"
cargo test -p ipa-core --no-default-features --features "cli web-app real-world-infra test-fixture descriptive-gate"

check "Concurrency tests" \
cargo test -p ipa-core --release --features "shuttle multi-threading"
Expand Down

0 comments on commit 6b81609

Please sign in to comment.