builtFunction write_built_file
source pub fn write_built_file() -> Result<()>
Expand description
A shorthand for calling write_built_file()
with CARGO_MANIFEST_DIR
and
[OUT_DIR]/built.rs
.
§Errors
Same as write_built_file_with_opts()
.
§Panics
If CARGO_MANIFEST_DIR
or OUT_DIR
are not set.