Don't use stale executor cache (#13966)
This commit is contained in:
@ -37,17 +37,17 @@ fn rerun_if_changed(files: &[&str], directories: &[&str], excludes: &[&str]) {
|
||||
fn main() {
|
||||
let bpf_c = env::var("CARGO_FEATURE_BPF_C").is_ok();
|
||||
if bpf_c {
|
||||
let install_dir =
|
||||
"OUT_DIR=../target/".to_string() + &env::var("PROFILE").unwrap() + &"/bpf".to_string();
|
||||
let install_dir =
|
||||
"OUT_DIR=../target/".to_string() + &env::var("PROFILE").unwrap() + &"/bpf".to_string();
|
||||
|
||||
println!("cargo:warning=(not a warning) Building C-based BPF programs");
|
||||
assert!(Command::new("make")
|
||||
.current_dir("c")
|
||||
.arg("programs")
|
||||
.arg(&install_dir)
|
||||
.status()
|
||||
.expect("Failed to build C-based BPF programs")
|
||||
.success());
|
||||
assert!(Command::new("make")
|
||||
.current_dir("c")
|
||||
.arg("programs")
|
||||
.arg(&install_dir)
|
||||
.status()
|
||||
.expect("Failed to build C-based BPF programs")
|
||||
.success());
|
||||
|
||||
rerun_if_changed(&["c/makefile"], &["c/src", "../../sdk"], &["/target/"]);
|
||||
}
|
||||
@ -70,6 +70,8 @@ fn main() {
|
||||
"external_spend",
|
||||
"instruction_introspection",
|
||||
"invoke",
|
||||
"invoke_and_error",
|
||||
"invoke_and_ok",
|
||||
"invoked",
|
||||
"iter",
|
||||
"many_args",
|
||||
|
Reference in New Issue
Block a user