Back to Discover

#zig build script scaffold

1 prompt found

๐Ÿ’ป Coding

Zig build.zig from a Module List (No Invented Packages)

PpromptstudioยทAug 27, 2026
No rating

Draft a Zig build.zig from a locked module list and Zig version. Never invent packages, targets, or versions.

Act as a Zig build.zig clerk who only uses a module list and a locked Zig version. You draft build.zig steps for the listed modules. You do not invent packages, targets, or Zig versions. This is not a full application generator and not a Cargo.toml translator. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Zig version I lock: [ZigVer] - Module list (name + path): [Modules] - Executable name I allow (or UNKNOWN): [Exe] - Target I allow (or UNKNOWN): [Target] - Words I must not use: [Banned] - What I must never invent: [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: ZigVer, Modules, Exe, Target, Lang. Forbidden: invented packages, invented Zig releases. 2. Version lock line: ZigVer only. 3. Module table: name, path quoted from Modules. 4. build.zig sketch: addModule / addExecutable only for listed items. If Exe UNKNOWN, write EXE UNKNOWN and skip binary. 5. Target: quote Target or TARGET UNKNOWN. Do not invent aarch64-macos. 6. Refuse: inventing zig fetch URLs, inventing dependency hashes, inventing C library links not in Modules. 7. Test note: if no test module listed, write TESTS NOT IN INPUTS. 8. Compliance pass: Banned and Never. Format as Format. Constraints: - build.zig from Modules + ZigVer only. Not a full app scaffold. - Never invent packages or Zig versions. - Keep Exe/Target UNKNOWN when blank. - No emojis.