1
Fork 0
This commit is contained in:
Motiejus Jakštys 2024-11-08 18:32:44 +02:00
parent c02aef602a
commit 321dbe70cc
1 changed files with 23 additions and 1 deletions

24
run
View File

@ -302,6 +302,28 @@ step11() {
} }
} }
# commit f16c10a86b7183e99e54a70344f4681211cd52bb
# Author: Veikka Tuominen <git@vexu.eu>
# Date: 2023-01-27T20:25:48+02:00
#
# implement `@qualCast`
#
STEP12=f16c10a86b7183e99e54a70344f4681211cd52bb
STEP12_=0.10.0-1506-gf16c10a86b
step12() {
rm -fr "../zig-$STEP11"
# use the @qualCast implementation in src/, but remove usages in lib/
git archive --prefix=zig-$STEP12_/ $STEP12 | tar -C .. -x
git archive --prefix=zig-$STEP12_/ $STEP12~1 lib | tar -C .. -x
{
pushd "../zig-$STEP12_"
cp ../zig-$STEP11_/stage1/zig1.wasm stage1/zig1.wasm
fullbuild
popd
}
}
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
set -xeuo pipefail set -xeuo pipefail
step=${1:-step00} step=${1:-step00}
@ -320,5 +342,5 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [[ "$step" -le 9 ]]; then step09; fi if [[ "$step" -le 9 ]]; then step09; fi
if [[ "$step" -le 10 ]]; then step10; fi if [[ "$step" -le 10 ]]; then step10; fi
if [[ "$step" -le 11 ]]; then step11; fi if [[ "$step" -le 11 ]]; then step11; fi
#if [[ "$step" -le 12 ]]; then step12; fi if [[ "$step" -le 12 ]]; then step12; fi
fi fi