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:
Skgland
2026-01-10 17:48:07 +01:00
committed by Bennet Bleßmann
parent 172b6a6f8f
commit 73c26bed2a
3 changed files with 1409 additions and 1413 deletions

File diff suppressed because it is too large Load Diff

1406
src/instructions.rs Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -29,10 +29,10 @@ pub(crate) mod heap_print;
mod http;
mod indexing;
mod variable_records;
#[macro_use]
pub(crate) mod instructions {
include!(concat!(env!("OUT_DIR"), "/instructions.rs"));
}
pub(crate) mod instructions;
mod iterators;
pub(crate) mod machine;
mod raw_block;