don't genrate code in src/
[Outputs of Build Script](https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script) states that only files in $OUT_DIR may be modified
This commit is contained in:
@@ -3037,11 +3037,13 @@ pub fn generate_instructions_rs() -> TokenStream {
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! instr {
|
||||
macro_rules! _instr {
|
||||
#(
|
||||
#instr_macro_arms
|
||||
);*
|
||||
}
|
||||
|
||||
pub use _instr as instr; // https://github.com/rust-lang/rust/pull/52234#issuecomment-976702997
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user