pub fn write_target_json(filename: &str, contents: &str) -> PathBuf
Write a target JSON string to OUT_DIR/targets/<filename> and return the path.
OUT_DIR/targets/<filename>