summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-06-06 13:45:12 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-06-06 16:02:12 +0200
commit55df865bb40b3349f911e351bf2b24cb43f9c054 (patch)
treefe2686b874cd88da6ebfad96ab619e773d9fbe59
parentb3207b7f96cb36f9d847b589fd3a50dc84ee847c (diff)
openpgp, rfc2822: Drop force-rerun hack.
-rw-r--r--openpgp/build.rs7
-rw-r--r--rfc2822/build.rs6
2 files changed, 0 insertions, 13 deletions
diff --git a/openpgp/build.rs b/openpgp/build.rs
index 720d63d2..5c8a9ffb 100644
--- a/openpgp/build.rs
+++ b/openpgp/build.rs
@@ -4,13 +4,6 @@ use std::io::{self, Write};
use std::path::PathBuf;
extern crate lalrpop;
-// Rerun if any of these files change:
-#[allow(dead_code)]
-const SOURCE: [ &'static str; 2 ]
- = [ include_str!("src/message/grammar.lalrpop"),
- include_str!("src/tpk/grammar.lalrpop"),
- ];
-
fn main() {
lalrpop::process_root().unwrap();
include_test_data().unwrap();
diff --git a/rfc2822/build.rs b/rfc2822/build.rs
index 24051d93..23c7d3f8 100644
--- a/rfc2822/build.rs
+++ b/rfc2822/build.rs
@@ -1,11 +1,5 @@
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();
}