aboutsummaryrefslogtreecommitdiff
path: root/examples/example-pathfinder/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-pathfinder/build.rs')
-rw-r--r--examples/example-pathfinder/build.rs10
1 files changed, 10 insertions, 0 deletions
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 ---------
+}