From 6d36698adfd854f2c21508eef9ccdd575a6881ea Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 26 Aug 2025 19:23:21 -0700 Subject: [PATCH] move public paths of sim::{Compiled,Compiler} to sim::compiler --- crates/fayalite/src/sim.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/fayalite/src/sim.rs b/crates/fayalite/src/sim.rs index 596e323..d91427f 100644 --- a/crates/fayalite/src/sim.rs +++ b/crates/fayalite/src/sim.rs @@ -17,7 +17,8 @@ use crate::{ reset::ResetType, sim::{ compiler::{ - CompiledBundleField, CompiledExternModule, CompiledTypeLayoutBody, CompiledValue, + Compiled, CompiledBundleField, CompiledExternModule, CompiledTypeLayoutBody, + CompiledValue, }, interpreter::{ BreakAction, BreakpointsSet, RunResult, SmallUInt, State, StatePartIndex, @@ -47,14 +48,12 @@ use std::{ task::Poll, }; -mod compiler; +pub mod compiler; mod interpreter; pub mod time; pub mod value; pub mod vcd; -pub use compiler::{Compiled, Compiler}; - #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct TraceScalarId(usize);