docs: 添加 Rustdoc 注释

This commit is contained in:
爱特每羊队
2026-08-05 21:46:47 +08:00
parent bbdfca1a1c
commit f461235f04
158 changed files with 1440 additions and 15 deletions
+2
View File
@@ -1,3 +1,5 @@
/// 委托 `cargo bench -p oxide_vm` 运行 Rust 原生 benchmark;
/// 可选 filter 指定具体 bench 目标。
pub fn run_rust_bench(filter: Option<&str>) -> std::process::ExitCode {
let mut cmd = std::process::Command::new("cargo");
cmd.args(["bench", "-p", "oxide_vm"]);