Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ RUN sh /scripts/sccache.sh

ENV RUST_CONFIGURE_ARGS="--build=x86_64-unknown-linux-gnu"

COPY scripts/x86_64-gnu-pre-stabilization.sh /scripts/
ENV SCRIPT="/scripts/x86_64-gnu-pre-stabilization.sh"
COPY scripts/x86_64-gnu-next-trait-solver-polonius.sh /scripts/
ENV SCRIPT="/scripts/x86_64-gnu-next-trait-solver-polonius.sh"
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ set -ex
# This script tests features intended to be stabilized in 2026. We want to
# ensure they don't regress until then.

# 1. For the new trait solver, we want to:
# 1. For the next trait solver, we want to:
# - ensure it can build the standard library
# - ensure it actually bootstraps
#
# FIXME: we also need to ensure it actually bootstraps.
# We test both by building the _stage 2_ library with the next solver enabled
# at stage 1 via rustflags.

RUSTFLAGS_NOT_BOOTSTRAP="-Znext-solver=globally" ../x build library --stage 1
RUSTFLAGS_NOT_BOOTSTRAP="-Znext-solver=globally" ../x build library --stage 2

# 2. For the polonius alpha, we run the UI tests under the polonius
# compare-mode.
Expand Down
4 changes: 2 additions & 2 deletions src/ci/github-actions/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ pr:

# This job tests features we want to stabilize soon, to ensure they don't
# regress.
- name: x86_64-gnu-pre-stabilization
doc_url: https://rustc-dev-guide.rust-lang.org/tests/pre-stabilization-ci-job.html
- name: x86_64-gnu-next-trait-solver-polonius
doc_url: https://rustc-dev-guide.rust-lang.org/tests/x86_64-gnu-next-trait-solver-polonius-ci-job.html
env:
CODEGEN_BACKENDS: llvm
<<: *job-linux-4c
Expand Down
Loading