[][src]Function rustc_ap_rustc_session::output::check_file_is_writeable

pub fn check_file_is_writeable(file: &Path, sess: &Session)

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.