fn main() {
let mut path = std::env::current_dir().unwrap();
while !path.join("README.md").exists() {
path = path.parent().unwrap().to_path_buf();
}
path = path.join("README.md");
let contents = std::fs::read_to_string(&path).unwrap();
assert!(contents.contains("Proc Macro Warning"));
println!("cargo:rustc-env=README_PATH={}", path.display());
}