[meta] Add pub(crate) to more types;
This caught one unused method, allowing us to remove it.
This commit is contained in:
@@ -7,7 +7,7 @@ use crate::cdsl::regs::IsaRegs;
|
||||
use crate::shared::Definitions as SharedDefinitions;
|
||||
|
||||
/// An helper to create recipes and use them when defining the RISCV encodings.
|
||||
pub struct RecipeGroup<'formats> {
|
||||
pub(crate) struct RecipeGroup<'formats> {
|
||||
/// Memoized format registry, to pass it to the builders.
|
||||
formats: &'formats FormatRegistry,
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ fn replace_nonrex_constraints(
|
||||
/// Encodings, in encodings.rs. This is an idiosyncrasy of the x86 meta-language, and could be
|
||||
/// reconsidered later.
|
||||
#[derive(Clone)]
|
||||
pub struct Template<'builder> {
|
||||
pub(crate) struct Template<'builder> {
|
||||
/// Mapping of format indexes to format data, used in the build() method.
|
||||
formats: &'builder FormatRegistry,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user