fix: Complete JIT/Cranelift archival cleanup for Phase 15

- Create JIT stub module with minimal compatibility layer
- Archive JIT-direct execution mode with helpful error message
- Fix remaining JIT references in config, runtime, and backend modules
- Resolve compilation errors preventing Phase 15 development
- All JIT functionality now properly archived to archive/jit-cranelift/

🎯 Phase 15 compilation now succeeds - ready for selfhosting debug

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Selfhosting Dev
2025-09-23 02:26:33 +09:00
parent a60d840b47
commit 10f272a460
9 changed files with 189 additions and 32 deletions

View File

@ -141,8 +141,9 @@ impl GcController {
match self.mode {
GcMode::Rc | GcMode::RcCycle | GcMode::STW => {
let started = std::time::Instant::now();
// Roots: JIT/AOT handle registry snapshot
let roots = crate::jit::rt::handles::snapshot_arcs();
// Roots: Runtime handle registry snapshot
// ARCHIVED: JIT handle implementation moved to archive/jit-cranelift/ during Phase 15
let roots: Vec<std::sync::Arc<dyn crate::box_trait::NyashBox>> = Vec::new(); // TODO: Implement handle registry for Phase 15
let mut visited: HashSet<u64> = HashSet::new();
let mut q: VecDeque<std::sync::Arc<dyn crate::box_trait::NyashBox>> =
VecDeque::new();