[package]
name = "zyginit"version = "0.2.1"author = "Chris Tusa <chris.tusa@leafscale.com>"description = "Init system and service supervisor for Zygaena/Hammerhead"license = "CDDL-1.0"[build]
entry = "src/main.reef"output = "zyginit"output_dir = "build"source_dirs = ["src"]
# helpers.c is portable (built on both platforms). contract_linux_stubs.c is# ONLY for Linux dev builds — on Hammerhead, link with -lcontract instead.## On Linux (dev):# clang -c src/helpers.c -o build/helpers.o# clang -c src/contract_linux_stubs.c -o build/contract_linux_stubs.o# reefc build --obj build/helpers.o --obj build/contract_linux_stubs.o## On Hammerhead:# gcc -c src/helpers.c -o build/helpers.o# reefc build -l contract --obj build/helpers.o