extaract the static part of the instructions template directly into the instructions module
This way goto source doesn't end up in a generated file for those parts and they can be edited directly. I have way too often accidentally edited the generated file.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
1406
src/instructions.rs
Normal file
1406
src/instructions.rs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -29,10 +29,10 @@ pub(crate) mod heap_print;
|
|||||||
mod http;
|
mod http;
|
||||||
mod indexing;
|
mod indexing;
|
||||||
mod variable_records;
|
mod variable_records;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub(crate) mod instructions {
|
pub(crate) mod instructions;
|
||||||
include!(concat!(env!("OUT_DIR"), "/instructions.rs"));
|
|
||||||
}
|
|
||||||
mod iterators;
|
mod iterators;
|
||||||
pub(crate) mod machine;
|
pub(crate) mod machine;
|
||||||
mod raw_block;
|
mod raw_block;
|
||||||
|
|||||||
Reference in New Issue
Block a user