{"id":57740,"library":"compiletest-rs","title":"Compiletest Rs","description":"The compiletest utility from the Rust compiler as a standalone testing harness.","status":"active","version":"0.11.2","language":"rust","source_language":null,"source_url":"https://github.com/Manishearth/compiletest-rs","tags":["testing","compile","harness","rustc"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncompiletest_rs = \"0.11.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add compiletest_rs","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"run_tests","correct":"use compiletest_rs::run_tests;"}],"quickstart":{"code":"use compiletest_rs::run_tests;\n\nfn main() {\n    let config = compiletest_rs::Config::default();\n    run_tests(&config);\n}","lang":"rust","description":"Run compile tests using the default configuration."},"warnings":[{"fix":"Place test files in a 'tests' directory with appropriate subdirectories (e.g., 'compile-fail').","message":"Requires specific directory structure for test files.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'compil':9,16 'compiletest':1,4 'har':14,17 'rs':2 'rust':8 'rustc':18 'standalon':12 'test':13,15 'util':5","created_at":"2026-06-16T15:55:29.923152+00:00","updated_at":"2026-06-16T15:55:29.923152+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Manishearth/compiletest-rs","github":"https://github.com/Manishearth/compiletest-rs","docs":"https://docs.rs/compiletest_rs/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}