firewalker
firewalker copied to clipboard
Add apple silicon support
Add apple silicon support by compiling binary build aarch64-apple-darwin
of wirefilter
- Clone the following repo
https://github.com/cloudflare/wirefilter
with commit 2334ab150. - Apply the patch file at npm package
SerCeMan/firewalker/blob/master/lib/wirefilter.patch
- Build the
wirefilter
withaarch64-apple-darwin
architecture.
cargo build --release --target aarch64-apple-darwin
- Copy the birary file compiled at last step
wirefilter/target/aarch64-apple-darwin/release/libwirefilter_ffi.dylib
to replace thenode_modules/firewalker/lib/libwirefilter_ffi.dylib
Hey, @tamkelvin313! Thank you for the PR, I'll take a look into how this can be merged in a compatible manner.
Thank you, @tamkelvin313! I've included the suggested improvements in https://github.com/SerCeMan/firewalker/pull/27