code wiki / _hdl_build / sites.nx

sites.nx

buildroot/runtime/_hdl_build/sites.nx

1014 B10 linesdepth 0pulls 0 transitivereach 0 importersview sourcekind orphan librarytopic sites
docsdependenciesstructsconstsfunctions

about

sites.nx -- INTENTIONALLY NON-BUILDABLE PLACEHOLDER (do not build target=sites yet). 2026-07-24: a bare `import "nx_sites_daemon_v2.nx"` re-export was tried as a build alias so the edge could build+deploy under one name (build target=sites -> sites.sov.elf.new -> /api/deploy target=sites). It FAILS TO COMPILE: nxasm reports `UNDEFINED label: main` -- NishiLang adopts a `main` only from the ROOT compilation unit, never from an import. Making the alias work needs the daemon's `func main` (nx_sites_daemon_v2.nx:1013) extracted into a callable `sd2_main` so this file can define the real `main` that calls it -- a focused edge-build refactor, NOT tail-work (see the api-first doctrine: the edge is a crown-jewel change requiring a carefully-tested arc + never-brick deploy). The live edge builds as target=nx_sites_daemon_v2. This stub is comment-only ON PURPOSE: a build attempt fails LOUD (never silently deploys a no-op sites.elf). Tracked as debt (edge security-header deploy).

dependencies 0 imports · 0 importers

imports: none

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

none