mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 18:51:13 +08:00
docs: 添加 Rustdoc 注释
This commit is contained in:
@@ -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"]);
|
||||
|
||||
Reference in New Issue
Block a user