Skip to content

Commit 3aeea45

Browse files
chore: auto-implement Rap when builder is not Sync (#80)
1 parent 449283d commit 3aeea45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stark-backend/src/interaction/rap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use super::{utils::generate_rlc_elements, AirBridge, InteractiveAir};
1818
impl<AB, A> Rap<AB> for A
1919
where
2020
A: InteractiveAir<AB>,
21-
AB: PairBuilder + PermutationAirBuilderWithExposedValues + PartitionedAirBuilder + Sync,
21+
AB: PairBuilder + PermutationAirBuilderWithExposedValues + PartitionedAirBuilder,
2222
{
2323
fn eval(&self, builder: &mut AB) {
2424
// Constraits for the main trace:

stark-backend/src/rap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use crate::{
2323
///
2424
/// Does not inherit [Air](p3_air::Air) trait to allow overrides for technical reasons
2525
/// around dynamic dispatch.
26-
pub trait Rap<AB>
26+
pub trait Rap<AB>: Sync
2727
where
2828
AB: PairBuilder + PermutationAirBuilder,
2929
{

0 commit comments

Comments
 (0)