fix: aotモジュール公開とビルドエラー修正

This commit is contained in:
Selfhosting Dev
2025-09-16 04:13:33 +09:00
parent 40db299bab
commit edd95406aa
2 changed files with 4 additions and 2 deletions

View File

@ -71,8 +71,7 @@ pub(crate) fn execute_file_with_backend(runner: &NyashRunner, filename: &str) {
if runner.config.compile_native {
#[cfg(feature = "cranelift-jit")]
{
use super::super::modes::aot;
aot::execute_aot_mode(runner, filename);
runner.execute_aot_mode(filename);
return;
}
#[cfg(not(feature = "cranelift-jit"))]