Benign rust 1,257 installs Download

blue-lang-check 0.0.48

“blue's typing ladder: zero analysis at rung 0, checked where declared, obligations discharged at the seam.”

AArch64 (ARM64) architecture stringBasename is uppercase README.md
SHA-25699d10de358424f269051876ab62d95fdf22b71a04d2af9073d3862a487268394

Evidence

imports std::path::PathBuf totality.rs · lines 21–26
21:37… us; proves the property over these inputs.
22
23use std::path::PathBuf;
24
25fn corpus() -> Vec<(String, String)> {
26 let root = PathBuf::from(env!("CARGO_MANIFEST_DIR" …
Enumerates a directory with Rust std::fs totality.rs · lines 29–36
29:3… .join("spec");
30 let mut out = Vec::new();
31 for e in std::fs::read_dir(&root)
32 .unwrap_or_else(|err| panic!("spec dir {} unreadable: {err}", root.display()))
33 .filter_map(Result::ok)
34 {
35 let p = e.path();
36 if p.extension().an …
assert! macro totality.rs · lines 44–53
44:40… to_string(&p) {
45 out.push((name, src));
46 }
47 }
48 out.sort();
49 assert!(
50 !out.is_empty(),
51 "spec corpus EMPTY — suite would pass vacuously"
52 );
53 …
Rust synchronous or async test attribute totality.rs · lines 60–65
60/// exactly the ASTs a hand-written test never thinks to build.
61#[test]
62fn no_parseable_prefix_panics_the_checker() {
63 let mut checked = 0usize;
64 let mut reached = 0usize;
65 for (name, src) i …
imports blue_lang_syntax::parse_program_tree lib.rs · lines 448–462
⋯6 lines
454}
455
456#[cfg(test)]
457mod tests {
458 use super::*;
459 use blue_lang_syntax::parse_program_tree;
460
461 fn check(src: &str) -> Outcome {
462 let forms = parse_program_tree(src).unwrap_or_el …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.