Skip to content

Commit 4295c16

Browse files
committed
Rust was not enabled in gcc 13
1 parent fd2eda4 commit 4295c16

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,11 @@ else
138138
if [[ "${MAJOR}" -ge 12 ]]; then CONFIG+=" --enable-libstdcxx-backtrace=yes"; fi
139139

140140
# Languages introduced in 13
141-
if [[ "${MAJOR}" -ge 13 ]]; then LANGUAGES=${LANGUAGES},rust,m2; fi
141+
if [[ "${MAJOR}" -ge 13 ]]; then LANGUAGES=${LANGUAGES},m2; fi
142+
143+
# Languages introduced in 14
144+
if [[ "${MAJOR}" -ge 14 ]]; then LANGUAGES=${LANGUAGES},rust; fi
145+
142146
fi
143147
FULLNAME=gcc-${VERSION}
144148
OUTPUT=${ROOT}/${FULLNAME}.tar.xz

0 commit comments

Comments
 (0)