jit: P3 jit-direct-only hardening; stub JitManager; guard VM/JIT identical tests under jit-only

This commit is contained in:
nyash-dev
2025-09-06 13:07:57 +09:00
parent 4a110c1674
commit 7a4f5052f1
6 changed files with 34 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#[cfg(test)]
#[cfg(all(test, not(feature = "jit-direct-only")))]
mod tests {
use crate::backend::VM;
use crate::mir::{MirModule, MirFunction, FunctionSignature, BasicBlockId, MirInstruction, ConstValue, EffectMask, MirType};
@ -37,4 +37,3 @@ mod tests {
assert_eq!(vm_s, jit_s, "VM and JIT results should match for String.len");
}
}