Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Fixed crashed rust example on M1 MacOS #554

Merged
merged 1 commit into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 19 additions & 12 deletions tools/docker-compose/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions tools/docker-compose/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]

pprof = { version = "0.10", features = ["protobuf-codec"] }
pprof = { version = "0.11", features = ["protobuf-codec"] }
hyper-routing = "0.6.1"
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
Expand All @@ -14,3 +13,6 @@ pretty_env_logger = "0.4"
log = "0.4"
form_urlencoded = "*"
libflate = "1.2.0"

[target.aarch64-apple-darwin.dependencies]
pprof = { version = "0.11", features = ["protobuf-codec","frame-pointer"] }
2 changes: 0 additions & 2 deletions tools/docker-compose/rust/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM rust:1.64.0-bullseye as build

#RUN apk add --no-cache musl-dev

WORKDIR /usr/src/cp-rust
RUN cargo init
COPY Cargo.toml Cargo.lock ./
Expand Down