vyre-conform 0.1.0

Conformance suite for vyre backends — proves byte-identical output to CPU reference
Documentation
use crate::generate::generators;
use crate::OpSpec;
use serde::{Deserialize, Serialize};
use std::collections::HashSet;
use std::fs;
use std::io;
use std::path::Path;
use super::util::*;

/// A single golden replay failure.
#[derive(Debug, Clone)]
pub struct GoldenMismatch {
    /// Operation identifier.
    pub op_id: String,
    /// Version the golden was frozen under.
    pub spec_version: u32,
    /// SHA-256 hex of the input.
    pub input_hash: String,
    /// Output stored in the golden.
    pub expected_output: Vec<u8>,
    /// Output produced by the current CPU reference.
    pub actual_output: Vec<u8>,
}