1
Fork 0

zig-nobinaries

This commit is contained in:
Motiejus Jakštys 2024-11-06 14:55:32 +02:00
parent 53b98f44a8
commit 1179ba1088
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ $ docker build -t zig-repro .
$ docker run -ti --rm \ $ docker run -ti --rm \
-v ~/code:/x \ -v ~/code:/x \
-v /home/$USER/.cache/zig:/home/$USER/.cache/zig \ -v /home/$USER/.cache/zig:/home/$USER/.cache/zig \
-w /x/zig \ -w /x/zig-nobinaries \
zig-repro \ zig-repro \
sh -c "useradd -s /bin/bash -u $UID $USER && su $USER; bash" sh -c "useradd -s /bin/bash -u $UID $USER && su $USER; bash"
``` ```

2
run
View File

@ -127,7 +127,7 @@ step10() {
{ {
pushd "../zig-$BOUNDFN" pushd "../zig-$BOUNDFN"
cp ../zig/stage1/zig1.wasm.zst stage1/ cp "../$OLDPWD/stage1/zig1.wasm.zst" stage1/
patch -p1 <"$HERE/0.10.0-675-g9d93b2ccf1-TypeOf-hack.patch" patch -p1 <"$HERE/0.10.0-675-g9d93b2ccf1-TypeOf-hack.patch"
mkdir build mkdir build
{ {