Add pure std.path queries and failure-preserving normalization/join using safe reverse measurement/emission and caller-provided output storage. Component queries return explicit Copy ranges; filesystem authority is checked independently. Complete the STD-7 implementation gate. Validation: 1079 conformance cases, 18 path cases with per-step collection and 12-seed schedule stress, independent 132-path/49-join capacity oracle, 68 CLI checks, fourteen previous source/std CLI suites, unit/Quick Reference, formatting, hosted smoke, 117/117 source coverage and reference budgets.
6 lines
192 B
Rust
6 lines
192 B
Rust
// expect: reject E7002
|
|
// phase: 6
|
|
// spec: docs/spec/16-standard-library.md §2.19
|
|
module test.path_import
|
|
fn main() -> u64 effects [] { if std.path.is_absolute(b"a") { trap; } return 42; }
|