From 74c651a9e1377be621a6bbfa32f846454826db7c Mon Sep 17 00:00:00 2001 From: Gabriel de Perthuis Date: Fri, 3 Jul 2026 21:22:55 +0200 Subject: [PATCH] Suggest enabling native unwinding when installing with cargo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aafe384c..76702fac 100755 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ pip install py-spy You can also download prebuilt binaries from the [GitHub Releases Page](https://github.com/benfred/py-spy/releases). -If you're a Rust user, py-spy can also be installed with: ```cargo install py-spy```. Note this -builds py-spy from source and requires `libunwind` on Linux and Window, e.g., +If you're a Rust user, py-spy can also be installed with: ```cargo install py-spy -F unwind```. This +builds py-spy from source and enables the feature for unwinding of native code, requiring `libunwind` on Linux and Window, e.g., `apt install libunwind-dev`. On macOS, [py-spy is in Homebrew](https://formulae.brew.sh/formula/py-spy#default) and