summaryrefslogtreecommitdiffstats
path: root/rfc2822/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rfc2822/build.rs')
-rw-r--r--rfc2822/build.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/rfc2822/build.rs b/rfc2822/build.rs
new file mode 100644
index 00000000..24051d93
--- /dev/null
+++ b/rfc2822/build.rs
@@ -0,0 +1,11 @@
+extern crate lalrpop;
+
+// Rerun if any of these files change:
+#[allow(dead_code)]
+const SOURCE: [ &'static str; 1 ]
+ = [ include_str!("src/grammar.lalrpop"),
+ ];
+
+fn main() {
+ lalrpop::process_root().unwrap();
+}