Skip to content

Commit 345b8aa

Browse files
committed
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.
1 parent f697bc2 commit 345b8aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mod casc;
77

88
fn main() -> std::io::Result<()> {
99
// Generate parser
10-
lalrpop::process_root().unwrap();
10+
lalrpop::process_src().unwrap();
1111

1212
// Generate man page
1313
// https://rust-cli.github.io/book/in-depth/docs.html

0 commit comments

Comments
 (0)