Skip to content

Commit e3cf662

Browse files
authored
chore: disable unused unwind feature in python (#202)
1 parent 3e8ecd1 commit e3cf662

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

Cargo.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,6 @@ rpath = false
110110
lto = true
111111
debug-assertions = false
112112
codegen-units = 1
113+
114+
[patch.crates-io]
115+
py-spy = { git = "https://github.com/grafana/py-spy?rev=20ecc5b" }

docker/wheel.Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@ RUN curl https://static.rust-lang.org/rustup/dist/$(arch)-unknown-linux-musl/rus
88
ENV PATH=/root/.cargo/bin:$PATH
99
RUN yum -y install gcc libffi-devel openssl-devel wget gcc-c++ glibc-devel make
1010

11-
# for python
12-
ENV LIBUNWIND_VERSION=1.8.1
13-
RUN wget https://github.com/libunwind/libunwind/releases/download/v${LIBUNWIND_VERSION}/libunwind-${LIBUNWIND_VERSION}.tar.gz \
14-
&& tar -zxvf libunwind-${LIBUNWIND_VERSION}.tar.gz \
15-
&& cd libunwind-${LIBUNWIND_VERSION} \
16-
&& ./configure --disable-minidebuginfo --enable-ptrace --disable-tests --disable-documentation \
17-
&& make \
18-
&& make install
19-
2011
WORKDIR /pyroscope-rs
2112

2213
ADD Cross.toml \

0 commit comments

Comments
 (0)