Brick
src/
src/domain/
src/
tests/brickcheck/
tests/
| 1 | # This file is automatically @generated by Cargo. |
| 2 | # It is not intended for manual editing. |
| 3 | version = 4 |
| 4 | |
| 5 | [[package]] |
| 6 | name = "yous-compiler" |
| 7 | version = "0.1.0" |
| 8 |
Memory lab
Runs this brick's own tests in a release build with a counting allocator. Every operation call is measured: allocations, bytes, peak heap and time. Each body is scanned for the lines that allocate, and clippy points out avoidable copies.
Requirements
- ✓
REQ-1Lexical analysis produces tokens from source code
✓ [REQ-1] Lexical analysis produces tokens from source code #1
- ✓
REQ-2Diagnosis returns no diagnostics for valid token stream
✓ [REQ-2] Diagnosis returns no diagnostics for valid token stream #1
- ✓
REQ-3Compilation succeeds for valid source file
✓ [REQ-3] Compilation succeeds for valid source file #1
- ✓
GATE-PORTABLESelf-contained: standard library only, no build script, rustfmt-clean
cargo check --offline + rustfmt --check
- ✓
GATE-CONTRACTVendored Rust contract matches the host contract (R8)
regenerated contract comparison
- ✓
GATE-TYPESCompiles, borrow-checked, with no unsafe
cargo check --tests
- ✓
GATE-TESTSShips its own tests and they pass (R12)
3 passing
Built 09/10/2026, 23:35:08 by Ada Lovelace · 3 tests passing · operations by openrouter