feat: success logging by default

This commit is contained in:
2025-03-14 05:39:42 +00:00
parent 53d47fda63
commit 46f526c680
2 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ def compile(
val backendEnd = System.nanoTime()
writer.writeTo(asmLines, outputPath) *>
logAction(s"Backend time (${filePath.toRealPath()}): ${(backendEnd - backendStart).toFloat / 1e6} ms") *>
logAction(s"Success: ${outputPath.toAbsolutePath}")
IO.blocking(println(s"Success: ${outputPath.toRealPath()}"))
def processProgram(contents: String, file: File, outDir: Path): IO[Int] =
val frontendStart = System.nanoTime()