Merge pull request #697 from aya-rs/log-env-too

integration-test: Remove RUSTC from cargo-in-cargo
reviewable/pr698/r1
ajwerner 1 year ago committed by GitHub
commit 1bc9a1ad04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save