macros, vm, bytecode: add #[primop] await-style primop macro

This commit is contained in:
2026-08-23 17:38:08 +08:00
parent 89f5d84009
commit 0e344b1097
16 changed files with 1770 additions and 610 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ use std::sync::Arc;
use miette::{Diagnostic, NamedSource, SourceSpan};
use thiserror::Error;
pub type Result<T> = core::result::Result<T, Box<Error>>;
pub type Result<T, E = Box<Error>> = core::result::Result<T, E>;
#[derive(Clone, Debug)]
pub enum SourceType {