Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
no longer need `--no-default-features` for bpf-linker install
  • Loading branch information
dmitris authored Jun 19, 2023
1 parent e9c5e80 commit bb882c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ brew install FiloSottile/musl-cross/musl-cross
brew install llvm
# adjust the path for LLVM installation as needed - if installed with brew on Mac,
# see `brew --prefix llvm`.
$ LLVM_SYS_160_PREFIX=$(brew --prefix llvm) cargo install bpf-linker --no-default-features --features system-llvm
$ LLVM_SYS_160_PREFIX=$(brew --prefix llvm) cargo install bpf-linker --features system-llvm
$ cargo xtask build-ebpf --release
# '-C link-arg=-s' flag is optional (to produce a smaller executable file)
RUSTFLAGS="-Clinker=x86_64-linux-musl-ld -C link-arg=-s" cargo build --release --target=x86_64-unknown-linux-musl
Expand Down

0 comments on commit bb882c7

Please sign in to comment.