Function built::write_built_file_with_opts [] [src]

pub fn write_built_file_with_opts<P: AsRef<Path>, Q: AsRef<Path>>(
    options: &Options,
    manifest_location: P,
    dst: Q
) -> Result<()>

Writes rust-code describing the crate at src to a new file named dst.

Errors

The function returns an error if the file at dst already exists or can't be written to. This should not be a concern if the filename points to OUR_DIR.