From afe1239c460ff8f77958f67cdc69987340ce455d Mon Sep 17 00:00:00 2001 From: Matthias Goergens Date: Fri, 13 Dec 2024 19:05:07 +0800 Subject: [PATCH] Inline --- examples-builder/build.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples-builder/build.rs b/examples-builder/build.rs index 7ea9b9628..3a7be2c37 100644 --- a/examples-builder/build.rs +++ b/examples-builder/build.rs @@ -44,10 +44,9 @@ fn build_elfs() { include_bytes!(r"{CARGO_MANIFEST_DIR}/../examples/target/riscv32im-unknown-none-elf/release/examples/{example}");"# ).expect("failed to write vars.rs"); } - let input_path = "../examples/"; + println!("cargo:rerun-if-changed=../examples/"); + println!("cargo:rerun-if-changed=../ceno_rt/"); let elfs_path = "../examples/target/riscv32im-unknown-none-elf/release/examples/"; - - println!("cargo:rerun-if-changed={input_path}"); println!("cargo:rerun-if-changed={elfs_path}"); }