Files
hakorune/archive/llvm_legacy/mod.rs
Selfhosting Dev e5f6d51b3c refactor: レガシーコード大掃除完了!ChatGPT効率化のため
 削除完了(約700行のレガシー削除)
- src/jit_stub.rs 完全削除(134行の何もしないスタブ)
- src/backend/llvm_legacy/ アーカイブ化(壊れたLLVMバックエンド)
- vm-legacy feature全削除(5ファイルの混乱する二重パス)
- コメントアウトされたインタープリター削除
- JIT関連の巨大コメントブロック削除(350行以上)

 ChatGPTへの効果
- 完璧主義による掃除タイム削減
- 本質的な実装に集中可能
- 混乱する二重パスの排除

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 21:57:12 +09:00

24 lines
836 B
Rust

//! LLVM Legacy Backend (Deprecated)
//!
//! This module has been archived and is no longer supported.
//! Please use the Python LLVM harness instead.
#[cfg(feature = "llvm-inkwell-legacy")]
compile_error!(
"LLVM Inkwell Legacy backend is no longer supported. \
Please use the Python LLVM harness with --backend llvm or NYASH_LLVM_USE_HARNESS=1. \
Legacy code archived at: docs/archive/backends/llvm-inkwell-legacy/"
);
// Stub exports for compilation compatibility
pub mod box_types;
pub mod compiler;
pub mod context;
pub fn compile_and_execute(_program: &str) -> Result<(), String> {
Err("LLVM Legacy backend deprecated. Use Python LLVM harness.".to_string())
}
pub fn compile_to_object(_program: &str) -> Result<Vec<u8>, String> {
Err("LLVM Legacy backend deprecated. Use Python LLVM harness.".to_string())
}