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 {
|
if runner.config.compile_native {
|
||||||
#[cfg(feature = "cranelift-jit")]
|
#[cfg(feature = "cranelift-jit")]
|
||||||
{
|
{
|
||||||
use super::super::modes::aot;
|
runner.execute_aot_mode(filename);
|
||||||
aot::execute_aot_mode(runner, filename);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#[cfg(not(feature = "cranelift-jit"))]
|
#[cfg(not(feature = "cranelift-jit"))]
|
||||||
|
|||||||
@ -3,3 +3,6 @@ pub mod mir;
|
|||||||
pub mod vm;
|
pub mod vm;
|
||||||
pub mod llvm;
|
pub mod llvm;
|
||||||
pub mod bench;
|
pub mod bench;
|
||||||
|
|
||||||
|
#[cfg(feature = "cranelift-jit")]
|
||||||
|
pub mod aot;
|
||||||
|
|||||||
Reference in New Issue
Block a user