From 4bfaf937e9eb8e6d286b8aad9e38cfae1a5857b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 9 Nov 2024 19:27:04 +0200 Subject: [PATCH] step26 --- run | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/run b/run index 2c235d8..9343ed1 100755 --- a/run +++ b/run @@ -604,6 +604,32 @@ step25() { } } +# commit 22c6b6c9a9378aaca75c83c2182a6d94298f6bc2 +# Author: Matthew Lugg +# Date: 2023-06-14T03:09:23+03:00 +# +# Update zig1.wasm +# +# This is needed in order to remove math.{min,max} from std in favour of +# the builtins, since the builtins need the behavior fix from the previous +# commit. +# +# Note from Andrew: I updated this commit with zig1.wasm built by me. +# +STEP26=22c6b6c9a9378aaca75c83c2182a6d94298f6bc2 +STEP26_=0.10.0-3660-g22c6b6c9a9 +step26() { + rm -fr "../zig-$STEP26_" + git archive --prefix=zig-$STEP26_/ $STEP26 | tar -C .. -x + { + pushd "../zig-$STEP26_" + cp ../zig-$STEP25_/stage1/zig1.wasm stage1/zig1.wasm + halfbuild 16 + build/zig2 build update-zig1 + popd + } +} + if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then set -xeuo pipefail step=${1:-step00} @@ -636,4 +662,5 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then if [[ "$step" -le 23 ]]; then step23; fi if [[ "$step" -le 24 ]]; then step24; fi if [[ "$step" -le 25 ]]; then step25; fi + if [[ "$step" -le 26 ]]; then step26; fi fi