aboutsummaryrefslogtreecommitdiff
path: root/src/tools/bootstrap-check.sh
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 10:06:27 +0000
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 10:06:27 +0000
commitc2270cc944424579e4577e67ed17a66512d856b4 (patch)
tree04fc1ede53e0cbf2c2562f724fd539836c450306 /src/tools/bootstrap-check.sh
parenttodo: tick the spec; list the bugs its appendix b found (diff)
parentsplit compiler.zc into files by phase (diff)
Merge the compiler split into phase files
also: ca_owners in the language server keeps the owner order in a fixed array instead of a heap list the analyzer rejected.
Diffstat (limited to 'src/tools/bootstrap-check.sh')
-rwxr-xr-xsrc/tools/bootstrap-check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/bootstrap-check.sh b/src/tools/bootstrap-check.sh
index 7acd74c..8d5c327 100755
--- a/src/tools/bootstrap-check.sh
+++ b/src/tools/bootstrap-check.sh
@@ -11,7 +11,7 @@ esac
cd "$(dirname "$0")/../.."
make -s build/bin/zc0 build/bin/mkgenome
CC=${CC:-$(sh src/tools/findcc.sh)}
-SRC="src/runtime/rt.zc src/core/core.zc src/compiler/compiler.zc"
+SRC="src/runtime/rt.zc src/core/core.zc $(tr -d '\r' < src/compiler/parts | sed 's|^|src/compiler/|')"
mkdir -p build/s0 build/s1
cat $SRC | build/bin/zc0 > build/s0/g0.bin
build/bin/mkgenome < build/s0/g0.bin > build/s0/genome.bin