[−][src]Function built::write_built_file_with_opts
pub fn write_built_file_with_opts(
options: &Options,
manifest_location: &Path,
dst: &Path
) -> Result<()>
Writes rust-code describing the crate at manifest_location
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
.