summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cargo/config.toml4
-rw-r--r--build.rs1
2 files changed, 5 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..dbdf6c4
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,4 @@
+[target.'cfg(all())']
+rustflags = [
+ "-Aclippy::just_underscores_and_digits",
+]
diff --git a/build.rs b/build.rs
index bc369d8..52d9f76 100644
--- a/build.rs
+++ b/build.rs
@@ -1,4 +1,5 @@
fn main() {
+ println!("cargo:rerun-if-changed=src/pagespec.lalrpop");
lalrpop::process_root().unwrap();
subplot_build::codegen("riki.subplot").expect("failed to generate code with Subplot");
}