From 659dfbf51f6c0a40d21705a8a6b6708425b16472 Mon Sep 17 00:00:00 2001 From: Jack May Date: Thu, 15 Nov 2018 14:59:54 -0800 Subject: [PATCH] cargo:rerun always triggers if file does not exist --- programs/native/bpf_loader/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/native/bpf_loader/build.rs b/programs/native/bpf_loader/build.rs index aa700a140f..c99c2582ff 100644 --- a/programs/native/bpf_loader/build.rs +++ b/programs/native/bpf_loader/build.rs @@ -14,7 +14,7 @@ fn main() { println!("cargo:rerun-if-changed=../../bpf/c/sdk/bpf.mk"); println!("cargo:rerun-if-changed=../../bpf/c/sdk/inc/solana_sdk.h"); println!("cargo:rerun-if-changed=../../bpf/c/makefile"); - println!("cargo:rerun-if-changed=../../bpf/c/src/bernch_alu.c"); + println!("cargo:rerun-if-changed=../../bpf/c/src/bench_alu.c"); println!("cargo:rerun-if-changed=../../bpf/c/src/move_funds.c"); println!("cargo:rerun-if-changed=../../bpf/c/src/noop.c"); println!("cargo:warning=(not a warning) Compiling C-based BPF programs");