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

Relax rustc version to 1.58.1 #2030

Merged
merged 2 commits into from Sep 1, 2022
Merged

Relax rustc version to 1.58.1 #2030

merged 2 commits into from Sep 1, 2022

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented Sep 1, 2022

@noahgibbs /cc @k0kubun

YJIT supported rustc-1.58.1+. I suggest relaxing its version on ruby-build because apt package manager of Ubuntu 20.04 and 22.04 provides rustc-1.59.0.

@hsbt hsbt changed the title Relax rustc version from 1.58.1 Relax rustc version to 1.58.1 Sep 1, 2022
bin/ruby-build Outdated Show resolved Hide resolved
suggested by @k0kubun

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
@hsbt
Copy link
Member Author

hsbt commented Sep 1, 2022

Thanks for your review ❤️

@hsbt hsbt merged commit b0ef7c8 into master Sep 1, 2022
@hsbt hsbt deleted the relax-rustc-version branch September 1, 2022 09:09
# Some kind of built-in bash comparison for dotted version strings would be awesome.
if [[ "${rustc_ver}" == *"rustc 1."[6789]* ]]; then
# YJIT supports Rust 1.58.1 and later
if [[ "${rustc_ver}" =~ ^rustc\ 1\.(58\.1|59\.|[6789]\d\.) ]]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it accept 1.58.2 till 1.58.9?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there are releases with those numbers: https://github.com/rust-lang/rust/blob/master/RELEASES.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants