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.
9 lines
235 B
Rust
9 lines
235 B
Rust
// expect: reject E7005
|
|
// phase: 6
|
|
// spec: docs/spec/16-standard-library.md §2.19
|
|
module test.path_type
|
|
import std.path;
|
|
fn main() -> u64 effects [] {
|
|
var bytes: [u16;4] = [0u16;4]; std.path.normalize(mut bytes,b"a"); return 42;
|
|
}
|