diff --git a/yjit/yjit.mk b/yjit/yjit.mk index 80ca124699..c2553fc0bd 100644 --- a/yjit/yjit.mk +++ b/yjit/yjit.mk @@ -86,11 +86,13 @@ update-yjit-bench: $(Q) $(tooldir)/git-refresh -C $(srcdir) --branch main \ https://github.com/Shopify/yjit-bench yjit-bench $(GIT_OPTS) +RUST_VERSION = +1.58.0 + # Gives quick feedback about YJIT. Not a replacement for a full test run. .PHONY: yjit-smoke-test yjit-smoke-test: ifneq ($(strip $(CARGO)),) - $(CARGO) +1.58.0 test --all-features -q --manifest-path='$(top_srcdir)/yjit/Cargo.toml' + $(CARGO) $(RUST_VERSION) test --all-features -q --manifest-path='$(top_srcdir)/yjit/Cargo.toml' endif $(MAKE) btest RUN_OPTS='--yjit-call-threshold=1' BTESTS=-j $(MAKE) test-all TESTS='$(top_srcdir)/test/ruby/test_yjit.rb'