summaryrefslogtreecommitdiff
path: root/compiler/main/DriverPipeline.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main/DriverPipeline.hs')
-rw-r--r--compiler/main/DriverPipeline.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs
index 3f59ed3bbf..5fe2362973 100644
--- a/compiler/main/DriverPipeline.hs
+++ b/compiler/main/DriverPipeline.hs
@@ -1375,12 +1375,7 @@ runPhase (RealPhase (As with_cpp)) input_fn dflags
])
liftIO $ debugTraceMsg dflags 4 (text "Running the assembler")
-
- -- Atomic write by writing to temp file and then renaming
- let temp_output_fn = output_fn <.> "tmp"
- runAssembler input_fn temp_output_fn
- liftIO $ renameFile temp_output_fn output_fn
-
+ runAssembler input_fn output_fn
return (RealPhase next_phase, output_fn)