2025-09-24 14:13:15 +09:00
|
|
|
//! Deprecated LLVM Legacy Compiler
|
|
|
|
|
//! Archived at: docs/archive/backends/llvm-inkwell-legacy/
|
2025-09-11 04:20:28 +09:00
|
|
|
|
2025-09-14 00:44:28 +09:00
|
|
|
#[cfg(feature = "llvm-inkwell-legacy")]
|
2025-09-24 14:13:15 +09:00
|
|
|
compile_error!("LLVM Inkwell Legacy backend deprecated. Use Python LLVM harness.");
|
2025-09-11 04:20:28 +09:00
|
|
|
|
2025-09-24 14:13:15 +09:00
|
|
|
// Stub exports for compatibility
|
|
|
|
|
pub struct LegacyCompiler;
|
|
|
|
|
pub fn compile_mir(_mir: &str) -> Result<(), String> {
|
|
|
|
|
Err("LLVM Legacy compiler deprecated. Use Python LLVM harness.".to_string())
|
|
|
|
|
}
|