From 90d4e2e1562a9bb8b62c210cb46fed87371cd228 Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 12 Jun 2023 22:56:09 -0700 Subject: [PATCH] Minor edit --- buildscript/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildscript/main.rs b/buildscript/main.rs index c5550e0..7278490 100644 --- a/buildscript/main.rs +++ b/buildscript/main.rs @@ -230,8 +230,8 @@ fn main() -> Result<(), ()>{ let out_dir = env::var_os("OUT_DIR").unwrap(); let dest_path = Path::new(&out_dir).join("units.rs"); - println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rerun-if-changed=units.toml"); + println!("cargo:rerun-if-changed=buildscript/build.rs"); + println!("cargo:rerun-if-changed=buildscript/units.toml"); let units = include_str!("units.toml").parse::().unwrap(); let toml::Value::Array(units) = &units["unit"] else {panic!()};