Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YJIT: Reduce Rust version requirement to 1.58.1 #5951

Merged
merged 1 commit into from
May 29, 2022

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented May 26, 2022

We want to make it convenient for people to build YJIT and >=1.58.1 is
available on Ubuntu Jammy, Debian testing, and Fedora 36 through the
usual package manager on those systems. This saves the need to install
rustup for some people.

Our code is already 1.58.1 compatible so this commit simply tweaks CI
to make sure that we keep supporting the version. We still test against
the latest Rust version in --enable-yjit=dev builds through the Rust
version available in GitHub's CI image.

@XrXr XrXr requested review from maximecb and tenderlove as code owners May 26, 2022 18:59
We want to make it convenient for people to build YJIT and >=1.58.1 is
available on the Ubuntu Jammy, Debian testing, and Fedora 36 through the
usual package manager on those systems. This saves the need to install
`rustup` for some people.

Our code is already 1.58.1 compatible so this commit simply tweaks CI
to make sure that we keep supporting the version. We still test against
the latest Rust version in `--enable-yjit=dev` builds through the Rust
version available in GitHub's CI image.

Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
@XrXr XrXr force-pushed the one-five-eight branch from b735757 to f0ead97 Compare May 26, 2022 23:48
@duerst
Copy link
Member

duerst commented May 27, 2022

From the description, it's not clear to me whether older versions of Rust are also supported, and if yes, which versions. For example, Ubuntu 20.04 comes with Rust 1.57.0. Is that okay for YJIT?

@XrXr
Copy link
Member Author

XrXr commented May 27, 2022

We are only supporting 1.58.1 and above for now. We don't test on 1.57.0 so future code changes might break it even if it builds today.

@XrXr XrXr merged commit 899c90c into ruby:master May 29, 2022
@XrXr XrXr deleted the one-five-eight branch May 29, 2022 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants