pub type MockUniverse = CompilerUniverse<MockCompilerFeat>;Expand description
A compiler universe backed by [MockWorkspace].
Aliased Type§
pub struct MockUniverse {
pub features: Features,
pub font_resolver: Arc<FontResolverImpl>,
pub registry: Arc<DummyRegistry>,
pub revision: NonZero<usize>,
pub creation_timestamp: Option<i64>,
/* private fields */
}Fields§
§features: FeaturesThe features enabled for the compiler.
font_resolver: Arc<FontResolverImpl>The font resolver for the compiler.
registry: Arc<DummyRegistry>The package registry for the compiler.
revision: NonZero<usize>The current revision of the universe.
The revision is incremented when the universe is mutated.
creation_timestamp: Option<i64>The creation timestamp for reproducible builds.