Remove rust-toolchain

Doesn't make much sense in a workspace.
pull/135/head
Tamir Duberstein 2 months ago committed by Michal Rostecki
parent 59c882cebf
commit 77cbc8bcf9

@ -1,3 +0,0 @@
[toolchain]
channel = "nightly"
components = ["rust-src"]

@ -59,6 +59,7 @@ fn main() {
let mut cmd = Command::new("cargo");
cmd.args([
"+nightly",
"build",
"-Z",
"build-std=core",
@ -71,8 +72,8 @@ fn main() {
cmd.env("CARGO_CFG_BPF_TARGET_ARCH", arch);
// Workaround to make sure that the rust-toolchain.toml is respected.
for key in ["RUSTUP_TOOLCHAIN", "RUSTC", "RUSTC_WORKSPACE_WRAPPER"] {
// Workaround to make sure that the correct toolchain is used.
for key in ["RUSTC", "RUSTC_WORKSPACE_WRAPPER"] {
cmd.env_remove(key);
}
cmd.current_dir(ebpf_dir);

Loading…
Cancel
Save