Skip to content

Commit

Permalink
Bump to latest rustc-perf
Browse files Browse the repository at this point in the history
This removes a dependency on ntapi 0.3.x which failed to compiled with
latest beta.
rust-lang/rustc-perf@93dc60d removed
that dependency in the upstream rustc-perf.
  • Loading branch information
Mark-Simulacrum committed Mar 15, 2023
1 parent bb8a0ff commit df0be2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ COPY host-x86_64/dist-x86_64-linux/build-clang.sh /tmp/
RUN ./build-clang.sh
ENV CC=clang CXX=clang++

# rustc-perf version from 2022-07-22
ENV PERF_COMMIT 3c253134664fdcba862c539d37f0de18557a9a4c
# rustc-perf version from 2023-03-15
ENV PERF_COMMIT 9dfaa35193154b690922347ee1141a06ec87a199
RUN curl -LS -o perf.zip https://github.com/rust-lang/rustc-perf/archive/$PERF_COMMIT.zip && \
unzip perf.zip && \
mv rustc-perf-$PERF_COMMIT rustc-perf && \
Expand Down
4 changes: 2 additions & 2 deletions src/ci/stage-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ def rustc_stage_2(self) -> Path:
return super().rustc_stage_2().with_suffix(".exe")

def build_rustc_perf(self):
# rustc-perf version from 2022-07-22
perf_commit = "3c253134664fdcba862c539d37f0de18557a9a4c"
# rustc-perf version from 2023-03-15
perf_commit = "9dfaa35193154b690922347ee1141a06ec87a199"
rustc_perf_zip_path = self.opt_artifacts() / "perf.zip"

def download_rustc_perf():
Expand Down

0 comments on commit df0be2d

Please sign in to comment.