integration-test: Remove RUSTC from cargo-in-cargo

Fixes #686.
pull/697/head
Tamir Duberstein 1 year ago
parent f334cbd86e
commit d62ae98889
No known key found for this signature in database

@ -147,8 +147,10 @@ fn main() {
]); ]);
// Workaround to make sure that the rust-toolchain.toml is respected. // Workaround to make sure that the rust-toolchain.toml is respected.
cmd.env_remove("RUSTUP_TOOLCHAIN") for key in ["RUSTUP_TOOLCHAIN", "RUSTC"] {
.current_dir(integration_ebpf_dir); cmd.env_remove(key);
}
cmd.current_dir(integration_ebpf_dir);
// Workaround for https://github.com/rust-lang/cargo/issues/6412 where cargo flocks itself. // Workaround for https://github.com/rust-lang/cargo/issues/6412 where cargo flocks itself.
let ebpf_target_dir = out_dir.join("integration-ebpf"); let ebpf_target_dir = out_dir.join("integration-ebpf");

Loading…
Cancel
Save