vyre-conform 0.1.0

Conformance suite for vyre backends — proves byte-identical output to CPU reference
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::spec::{EngineInvariant, EngineSpec};

/// Build the eval engine conformance specification.
use super::{cpu_fn};
#[inline]
pub fn spec() -> EngineSpec {
    EngineSpec {
        id: "engine.eval",
        description: "Bytecode condition evaluator.",
        invariants: vec![
            EngineInvariant::Deterministic,
            EngineInvariant::BoundedResources,
        ],
        cpu_fn: Some(cpu_fn),
    }
}