From 2c866dad44d292e842551c87256d398df13798fe Mon Sep 17 00:00:00 2001 From: Daniel Burgener Date: Tue, 27 Aug 2024 17:14:11 -0400 Subject: [PATCH] Use lalrpop process_src() helper function This alternative to process_root() was added in lalrpop 0.21 and searches only in the src directory for lalrpop files, rather than the entire project directory. --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 6addbfd1..07abaa5f 100644 --- a/build.rs +++ b/build.rs @@ -7,7 +7,7 @@ mod casc; fn main() -> std::io::Result<()> { // Generate parser - lalrpop::process_root().unwrap(); + lalrpop::process_src().unwrap(); // Generate man page // https://rust-cli.github.io/book/in-depth/docs.html