]> git.lizzy.rs Git - rust.git/commit
rustc: Check that the output file is writeable before linking
authorTim Chevalier <chevalier@alum.wellesley.edu>
Thu, 3 Oct 2013 01:17:46 +0000 (18:17 -0700)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Sat, 19 Oct 2013 01:36:23 +0000 (18:36 -0700)
commit4dbef017dd2bdc34a6ddfb0914244946c01f9d97
treecac76cd770eb6246d2d502e78c6203a5328f9346
parent1cf029c229660efeca92cf88350bba77b5b7d902
rustc: Check that the output file is writeable before linking

This is because on Linux, the linker will silently overwrite
a read-only file.
src/librustc/back/link.rs
src/librustpkg/rustpkg.rs
src/librustpkg/tests.rs
src/librustpkg/util.rs