Don't overwrite input file by default
Summary: If the default filename of the output executable coincides with that of main source file, throw an error instead of silently clobbering the input file. Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D642 GHC Trac Issues: #9930
Showing
- compiler/main/GhcMake.hs 13 additions, 5 deletionscompiler/main/GhcMake.hs
- testsuite/tests/ghc-e/should_fail/Makefile 3 additions, 0 deletionstestsuite/tests/ghc-e/should_fail/Makefile
- testsuite/tests/ghc-e/should_fail/T9930 1 addition, 0 deletionstestsuite/tests/ghc-e/should_fail/T9930
- testsuite/tests/ghc-e/should_fail/all.T 3 additions, 0 deletionstestsuite/tests/ghc-e/should_fail/all.T
Loading
Please register or sign in to comment