From a2132cc6f01de48086d8b595f0216dc79064a6d8 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 9 Apr 2020 22:23:04 +0100 Subject: Remove potentially problematic change detection in build.rs --- dhall/build.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'dhall') diff --git a/dhall/build.rs b/dhall/build.rs index 893a4f9..bad6869 100644 --- a/dhall/build.rs +++ b/dhall/build.rs @@ -157,12 +157,7 @@ fn make_test_module( } fn generate_tests() -> std::io::Result<()> { - // Tries to detect when the submodule gets updated. - // To force regeneration of the test list, just `touch dhall-lang/.git` - println!("cargo:rerun-if-changed=../dhall-lang/.git"); - println!( - "cargo:rerun-if-changed=../.git/modules/dhall-lang/refs/heads/master" - ); + // To force regeneration of the test list, `touch dhall-lang/standard/dhall.abnf` let out_dir = env::var("OUT_DIR").unwrap(); let parser_tests_path = Path::new(&out_dir).join("spec_tests.rs"); -- cgit v1.2.3