This repository has been archived on 2026-09-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
OxideJS/crates/oxide_bytecode/src/lib.rs
T

15 lines
557 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#![doc = "OxideJS - Shared bytecode protocol and compiled module ABI"]
/// bytecode 日志宏(`bytecode_error`/`bytecode_info` 等),target 为 `oxide::kernel`。
mod bytecode_log;
/// 编译产物与常量池 ABI([`CompiledModule`] / [`Constant`])。
pub mod module;
/// 操作码表与指令编解码([`OpCode`] / [`Instr`])。
pub mod opcode;
/// 重导出 [`module`] 的编译产物与常量池类型。
pub use module::{CompiledModule, Constant};
/// 重导出 [`opcode`] 的操作码与指令类型。
pub use opcode::{Instr, OpCode};