summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/yjit-ubuntu.yml6
-rw-r--r--yjit/Cargo.toml2
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml
index 5dac4375f2..cf96590b60 100644
--- a/.github/workflows/yjit-ubuntu.yml
+++ b/.github/workflows/yjit-ubuntu.yml
@@ -42,7 +42,8 @@ jobs:
configure: "--with-gcc=clang-12 --enable-yjit=dev"
- test_task: "check"
- configure: "--enable-yjit" # release build
+ configure: "--enable-yjit RUSTC='rustc +1.58.1'" # release build
+ rust_version: "1.58.1"
- test_task: "check"
configure: "--enable-yjit=dev"
@@ -70,6 +71,9 @@ jobs:
set -x
sudo apt-get update -q || :
sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev bison autoconf ruby
+ - name: Install Rust
+ if: ${{ matrix.rust_version }}
+ run: rustup install ${{ matrix.rust_version }} --profile minimal
- name: git config
run: |
git config --global advice.detachedHead 0
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]