Skip to content

Commit 3e46d52

Browse files
authored
Fix local callgrind runs (#723)
* Fix local callgrind runs * Rust version sanity check
1 parent 4cc3edb commit 3e46d52

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/bench/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# Set up to run from linux / WSL (running from a windows file system will be extremely slow).
33
# See the README for commands to run.
44

5-
FROM rust:1.72
5+
# sync with: ../../rust-toolchain.toml
6+
FROM rust:1.74
67

78
RUN apt-get update && \
89
apt-get install -y valgrind protobuf-compiler bash && \
@@ -11,3 +12,5 @@ RUN apt-get update && \
1112
ENV CARGO_TARGET_DIR=/projects/SpacetimeDB/linux-target
1213
ENV CARGO_HOME=/projects/SpacetimeDB/linux-cache
1314
ENV RUSTUP_HOME=/projects/SpacetimeDB/linux-rustup
15+
16+
RUN rustup default 1.74 && cargo install --git https://github.com/clockworklabs/iai-callgrind.git --branch main iai-callgrind-runner

0 commit comments

Comments
 (0)