1DOLLY 72TOOLCHAIN zig-build3REQUIRES HOST runtime@04REQUIRES HOST http@056FROM /v0.1.2/Dollyfile-system-build 7077ca8632674cbdc16cb02a7d65949faabd1fcc7324e3212fbc823a9405336178# Zig from its source archive with only Dolly's cc, following upstream9# bootstrap.c with two substitutions. WAMR runs the zig1.wasm seed instead of10# wasm2c + cc, whose code overflows a browser Worker's native stack. zig2 keeps11# only the C backend (/tmp/zig/config.zig), the one that yields Dolly objects12# without LLVM: this zig emits C for cc and has no `zig build` or `zig cc`.13REQUIRES HEADER libc14REQUIRES TOOL   cc15REQUIRES TOOL   tar1617SOURCE /v0.1.2/dist/static/default/zig.tar  09c1c2b13932a37fa3fded23146a7bbb2b0fb03db6e9e8a00f714a4649fea857 /tmp/zig.tar18SOURCE /v0.1.2/dist/static/default/wamr.tar 84ebb76662fb8a7f013082842150c71e04ee149130e5b15426d630628d6632b3 /tmp/wamr.tar19SLOP tar \20  -xf /tmp/zig.tar \21  -C /22SLOP tar \23  -xf /tmp/wamr.tar \24  -C /2526# WAMR requires a BUILD_TARGET; zig1 binds only raw natives, so the target27# selects no native calling convention here.28SLOP CWD /tmp/wamr/core cc \29  -O2 \30  -std=gnu99 \31  -fno-strict-aliasing \32  -w \33  -D_PLATFORM_WASI_TYPES_H \34  -DBH_PLATFORM_DOLLY \35  -DBUILD_TARGET_X86_64 \36  -DBH_MALLOC=wasm_runtime_malloc \37  -DBH_FREE=wasm_runtime_free \38  -DWA_MALLOC=wasm_runtime_malloc \39  -DWA_FREE=wasm_runtime_free \40  -DWASM_ENABLE_INTERP=1 \41  -DWASM_ENABLE_FAST_INTERP=1 \42  -DWASM_ENABLE_LABELS_AS_VALUES=0 \43  -DWASM_CPU_SUPPORTS_UNALIGNED_ADDR_ACCESS=0 \44  -DWASM_ENABLE_BULK_MEMORY=1 \45  -DWASM_ENABLE_BULK_MEMORY_OPT=1 \46  -DWASM_ENABLE_SHRUNK_MEMORY=1 \47  -DWASM_DISABLE_HW_BOUND_CHECK=1 \48  -DWASM_DISABLE_STACK_HW_BOUND_CHECK=1 \49  -DWASM_DISABLE_WRITE_GS_BASE=1 \50  -DWASM_DISABLE_WAKEUP_BLOCKING_OP=1 \51  -DWASM_ENABLE_SHARED_MEMORY=0 \52  -DWASM_ENABLE_MULTI_MODULE=0 \53  -DWASM_ENABLE_MINI_LOADER=0 \54  -DWASM_ENABLE_REF_TYPES=0 \55  -DWASM_ENABLE_SIMD=0 \56  -DWASM_ENABLE_EXTENDED_CONST_EXPR=0 \57  -DWASM_ENABLE_MEMORY64=0 \58  -I /tmp/wamr \59  -I /tmp/zig/stage1 \60  -I shared/platform/include \61  -I shared/utils \62  -I shared/mem-alloc \63  -I iwasm/include \64  -I iwasm/common \65  -I iwasm/interpreter \66  /tmp/wamr/zig1.c \67  /tmp/wamr/wamr-platform.c \68  shared/mem-alloc/mem_alloc.c \69  shared/mem-alloc/ems/ems_alloc.c \70  shared/mem-alloc/ems/ems_gc.c \71  shared/mem-alloc/ems/ems_hmu.c \72  shared/mem-alloc/ems/ems_kfc.c \73  shared/utils/bh_assert.c \74  shared/utils/bh_bitmap.c \75  shared/utils/bh_common.c \76  shared/utils/bh_hashmap.c \77  shared/utils/bh_leb128.c \78  shared/utils/bh_list.c \79  shared/utils/bh_log.c \80  shared/utils/bh_queue.c \81  shared/utils/bh_vector.c \82  shared/utils/runtime_timer.c \83  iwasm/common/wasm_application.c \84  iwasm/common/wasm_blocking_op.c \85  iwasm/common/wasm_c_api.c \86  iwasm/common/wasm_exec_env.c \87  iwasm/common/wasm_loader_common.c \88  iwasm/common/wasm_memory.c \89  iwasm/common/wasm_native.c \90  iwasm/common/wasm_runtime_common.c \91  iwasm/common/wasm_shared_memory.c \92  iwasm/common/arch/invokeNative_general.c \93  iwasm/interpreter/wasm_interp_fast.c \94  iwasm/interpreter/wasm_loader.c \95  iwasm/interpreter/wasm_runtime.c \96  -o /tmp/zig/zig19798# zig1's WASI adapter reaches only its working directory and lib argument.99SLOP CWD / /tmp/zig/zig1 \100  /tmp/zig/stage1/zig1.wasm \101  /usr/lib/zig \102  build-exe \103  -target wasm64-emscripten \104  -mcpu=generic+atomics \105  -fsingle-threaded \106  -OReleaseSmall \107  -ofmt=c \108  -lc \109  --name zig2 \110  -femit-bin=tmp/zig/zig2.c \111  --dep build_options \112  --dep aro \113  -Mroot=tmp/zig/src/main.zig \114  -Mbuild_options=tmp/zig/config.zig \115  -Maro=usr/lib/zig/compiler/aro/aro.zig116SLOP CWD / /tmp/zig/zig1 \117  /tmp/zig/stage1/zig1.wasm \118  /usr/lib/zig \119  build-obj \120  -target wasm64-emscripten \121  -mcpu=generic+atomics \122  -fsingle-threaded \123  -OReleaseSmall \124  -ofmt=c \125  --name compiler_rt \126  -femit-bin=tmp/zig/compiler_rt.c \127  -Mroot=usr/lib/zig/compiler_rt.zig128129# zig.h passes usize (unsigned long) as uint64_t * (unsigned long long *) and,130# not recognizing Clang's wasm memory builtins, names an undefined131# zig_unimplemented().132SLOP CWD /tmp/zig cc \133  -c \134  -O2 \135  -std=c99 \136  -fno-strict-aliasing \137  -Wno-incompatible-pointer-types \138  '-Dzig_unimplemented()=(__builtin_trap(),0)' \139  -I /usr/lib/zig \140  -o zig2.o \141  zig2.c142SLOP CWD /tmp/zig cc \143  -c \144  -O2 \145  -std=c99 \146  -fno-strict-aliasing \147  -Wno-incompatible-pointer-types \148  -I /usr/lib/zig \149  -o compiler_rt.o \150  compiler_rt.c151SLOP CWD /tmp/zig cc \152  -o /usr/bin/zig \153  zig2.o \154  compiler_rt.o155156EXPORTS TOOL   zig157EXPORTS FOLDER zig-lib     /usr/lib/zig158EXPORTS ENV    ZIG_LIB_DIR /usr/lib/zig159FILE /usr/share/licenses/zig/LICENSE160