fix: aotモジュール公開とビルドエラー修正
This commit is contained in:
@ -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"))]
|
||||
|
||||
@ -3,3 +3,6 @@ pub mod mir;
|
||||
pub mod vm;
|
||||
pub mod llvm;
|
||||
pub mod bench;
|
||||
|
||||
#[cfg(feature = "cranelift-jit")]
|
||||
pub mod aot;
|
||||
|
||||
Reference in New Issue
Block a user