Skip to content

Commit a857ff8

Browse files
committed
fix gccrs build from the devel branch
The compiler rely on some unstable features. Use the RUSTC_BOOSTRAP escape hatch (until some other solution is found, if this is not an OK solution) Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
1 parent 4295c16 commit a857ff8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ elif echo "${VERSION}" | grep 'gccrs-master'; then
8787
MAJOR_MINOR=13-trunk
8888
# Only rust, this is intentional.
8989
LANGUAGES=rust
90+
# This is needed because we are using some unstable features only available from
91+
# nightly compiler... or using the RUSTC_BOOTSTRAP escape hatch.
92+
export RUSTC_BOOTSTRAP=1
9093
elif echo "${VERSION}" | grep 'cobol-master'; then
9194
VERSION=cobol-master-$(date +%Y%m%d)
9295
PATCH_VERSION=cobol-master

0 commit comments

Comments
 (0)