We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9299a6 commit 7399e92Copy full SHA for 7399e92
bin/ruby-build
@@ -1268,7 +1268,7 @@ build_package_enable_yjit() {
1268
local rustc_ver="$(rustc --version 2>/dev/null)"
1269
[ -n "$rustc_ver" ] || return 0
1270
# Some kind of built-in bash comparison for dotted version strings would be awesome.
1271
- if [[ "${rustc_ver})" == *"rustc 1."[6789]* ]]; then
+ if [[ "${rustc_ver}" == *"rustc 1."[6789]* ]]; then
1272
echo "Building with YJIT by default because ${rustc_ver} is installed; add RUBY_CONFIGURE_OPTS='--disable-yjit' to disable explicitly" >&3
1273
package_option ruby configure --enable-yjit
1274
else
0 commit comments