Skip to content

Commit d9693ae

Browse files
committed
Fix build given -Clinker-features=-lld is now stable
1 parent add1ec5 commit d9693ae

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[target.x86_64-unknown-linux-gnu]
2-
rustflags = ["-Zlinker-features=-lld"]
2+
rustflags = ["-Clinker-features=-lld"]

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ fn main() -> Result<()> {
2424
// Run cargo to compile the eBPF program.
2525
let status = std::process::Command::new("cargo")
2626
.current_dir("cgroup_device_filter")
27+
.env_remove("CARGO_ENCODED_RUSTFLAGS")
2728
.args(["build", "--release"])
2829
.status()?;
2930

0 commit comments

Comments
 (0)