Repository navigation
Tags
Tags
Add an Embedded Swift diagnostic script Scripts/embedded-check.sh compiles the core in Embedded mode and reports what blocks it, grouped by cause and by file. Compile-only — Embedded produces no runnable artifact here; the point is the diagnostics. Counts only real file:line diagnostics, not caret continuation lines (counting those roughly doubled every figure and made concurrency look larger than Codable). Warns when all errors are in dependencies, since that means your own code was never type-checked. Requires a toolchain shipping an embedded stdlib. Xcode's bundled toolchain does not: it fails with 'module Swift cannot be imported in embedded Swift mode'.
PreviousNext