Skip to content

Commit 99d7567

Browse files
authored
Skip the IR pre-capture on the riscv64 guest (#949)
* Skip the IR pre-capture on the riscv64 guest * Drop the figure and the interpreter over-claim
1 parent 88a54cf commit 99d7567

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

prover/src/test_utils.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,10 @@ fn build_air<CS: ConstraintSet<F, E> + Clone + Send + Sync + 'static>(
670670
)
671671
.with_name(name);
672672
// Pre-capture the constraint IR so every clone carries it (the prover's
673-
// GPU lowering and interpreter paths force it per instance otherwise).
673+
// CUDA composition arm forces it per instance otherwise). NOT on the guest:
674+
// the in-VM verifier reaches `build_air` through `VmAirs::new` and never
675+
// calls `constraint_program()`.
676+
#[cfg(not(target_arch = "riscv64"))]
674677
let _ = air.constraint_program();
675678
air_prototype_cache()
676679
.lock()

0 commit comments

Comments
 (0)