Function rustc_ap_rustc_session::output::check_file_is_writeable [−][src]
pub fn check_file_is_writeable(file: &Path, sess: &Session)
Expand description
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.