aboutsummaryrefslogtreecommitdiff
path: root/dev_tools/src/bin/test-examples.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-28 09:06:08 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-28 09:06:08 +0800
commit748c14588cf1c31c8b8d60a9c94349c0173ef607 (patch)
tree4c09bfafd93b629a68f0f78902a33e8dd9ef18d1 /dev_tools/src/bin/test-examples.rs
parent50f2d767e2d07685e49fb7deae68d506ea11a79d (diff)
feat(pathf): add build-time type path resolution system
Add `mingling_pathf` sub-crate and `pathf` feature for automatic resolution of Mingling type module paths at build time. Scans source files, identifies macro invocations via pattern matchers, and generates mapping files consumed by `gen_program!()`.
Diffstat (limited to 'dev_tools/src/bin/test-examples.rs')
-rw-r--r--dev_tools/src/bin/test-examples.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev_tools/src/bin/test-examples.rs b/dev_tools/src/bin/test-examples.rs
index 5153709..539459e 100644
--- a/dev_tools/src/bin/test-examples.rs
+++ b/dev_tools/src/bin/test-examples.rs
@@ -94,7 +94,7 @@ fn run_all_tests(config: &TestConfig, bar: &ProgressBar) -> usize {
/// Build the example binary, return true on success
fn build_example(example_name: &str) -> bool {
let manifest = format!("examples/{example_name}/Cargo.toml");
- tools::run_cmd_capture(&format!(
+ tools::run_cmd_capture(format!(
"cargo build --manifest-path {manifest} --color always",
))
.is_ok()