From 86bc9000c5687db6434a5d20f409dda8b1d7a43a Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 28 Jun 2026 09:18:17 +0800 Subject: feat(docs): add Module Pathfinder example for the `pathf` feature --- examples/example-pathfinder/build.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/example-pathfinder/build.rs (limited to 'examples/example-pathfinder/build.rs') diff --git a/examples/example-pathfinder/build.rs b/examples/example-pathfinder/build.rs new file mode 100644 index 0000000..1dcc2fc --- /dev/null +++ b/examples/example-pathfinder/build.rs @@ -0,0 +1,10 @@ +use mingling::builds::analyze_and_build_type_mapping; + +fn main() { + // --------- IMPORTANT --------- + // Use this method in build.rs, + // to analyze the project structure at build time, + // and automatically introduce members from other modules into gen_program!() + analyze_and_build_type_mapping().unwrap(); + // --------- IMPORTANT --------- +} -- cgit