summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2022-05-29 13:43:02 -0400
committerGitHub <noreply@github.com>2022-05-29 13:43:02 -0400
commit899c90cf8a5243911987a6d2fa5f21e0cfbbe7dc (patch)
tree5b10f9827aa5669f6a9adb32175de1915bf3cce3 /yjit
parent93d1eb71b8fe126cb23c0057ecd77690fbb44982 (diff)
YJIT: Relax minimum Rust version requirement to 1.58.1
We want to make it convenient for people to build YJIT and Rust version 1.58.1 or above 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 that version. We still test against the latest Rust version in `--enable-yjit=dev` builds through the Rust version available in GitHub's CI image. Rust versions older than 1.58.1 might build YJIT today, but we might make incompatible changes in the future. Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5951 Merged-By: XrXr
Diffstat (limited to 'yjit')
-rw-r--r--yjit/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/Cargo.toml b/yjit/Cargo.toml
index 8969f897ad..a5208049cb 100644
--- a/yjit/Cargo.toml
+++ b/yjit/Cargo.toml
@@ -6,7 +6,7 @@
name = "yjit"
version = "0.1.0" # YJIT version
edition = "2021" # Rust 2021 edition to compile with
-rust-version = "1.60.0" # Minimally supported rust version
+rust-version = "1.58.1" # Minimally supported rust version
publish = false # Don't publish to crates.io
[lib]