Make macros private
This commit is contained in:
@@ -3281,14 +3281,14 @@ pub fn generate_instructions_rs() -> TokenStream {
|
||||
}
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! _instr {
|
||||
#(
|
||||
#instr_macro_arms
|
||||
);*
|
||||
}
|
||||
|
||||
pub use _instr as instr; // https://github.com/rust-lang/rust/pull/52234#issuecomment-976702997
|
||||
// https://github.com/rust-lang/rust/pull/52234#issuecomment-976702997
|
||||
pub(crate) use _instr as instr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -164,7 +164,6 @@ pub fn index_static_strings(instruction_rs_path: &std::path::Path) -> TokenStrea
|
||||
)*
|
||||
];
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! atom {
|
||||
#((#static_strs) => { Atom { index: #indices_iter } };)*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user