Skip to main content

Module output

Module output 

Source
Expand description

Related to out filenames of compilation (e.g. binaries).

Functionsยง

check_file_is_writeable
Make sure files are writeable. Mac, FreeBSD, and Windows system linkers check this already โ€“ however, the Linux linker will happily overwrite a read-only file. We should be consistent.
filename_for_input
filename_for_metadata
invalid_output_for_target
Checks if target supports crate_type as output
is_writeable ๐Ÿ”’
out_filename
validate_crate_name
Validate the given crate name.