ReferenceTools
Bundling and submission
The normative description of each tool.
Normative text from spec/tools/bundle.md.
Status: draft for 0.3.0. Sources: plan/40-tooling.md §4-5,
plan/70-judges.md §7.3, decision 31.
cpl buildemits one deterministic C++17 file for the judge profile: the stamp and source hash, the used runtime pieces, the reached library instances (tree-shaken), the program,main.- Stripped: tests, alts, generators, checkers, interactors, samples,
debug(...),@localitems. - Libraries are inlined from the content-addressed store by pin, so a
rebuild is byte-identical;
cpl vendorcopies them next to the file. - Size is checked against the profile;
--sizeattributes bytes to header, runtime, types, library functions, user code and glue. @cpp("...", includes:)items andextern fnjudge functions are emitted verbatim or as declarations.