openvm_native_compiler/asm/
config.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::marker::PhantomData;

use openvm_stark_backend::p3_field::{ExtensionField, PrimeField, TwoAdicField};

use crate::prelude::Config;

/// An assembly code configuration given a field and an extension field.
#[derive(Debug, Clone, Default)]
pub struct AsmConfig<F, EF>(PhantomData<(F, EF)>);

impl<F: PrimeField + TwoAdicField, EF: ExtensionField<F> + TwoAdicField> Config
    for AsmConfig<F, EF>
{
    type N = F;
    type F = F;
    type EF = EF;
}