diff options
author | Nadrieril | 2020-04-09 22:23:04 +0100 |
---|---|---|
committer | Nadrieril | 2020-04-09 22:23:04 +0100 |
commit | a2132cc6f01de48086d8b595f0216dc79064a6d8 (patch) | |
tree | 968bda9a5518d80b95f471606b6fd90b50ca6bf3 | |
parent | 158589f17b0c59dcb0705115f70159a5fbfd05b5 (diff) |
Remove potentially problematic change detection in build.rs
Diffstat (limited to '')
-rw-r--r-- | dhall/build.rs | 7 |
1 files changed, 1 insertions, 6 deletions
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"); |