Skip to content

Commit 216d246

Browse files
tydeukim-em
andcommitted
doc: explanation for lake.lock disabling
Co-authored-by: Scott Morrison <[email protected]>
1 parent 25e673d commit 216d246

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/lake/Lake/Build/Monad.lean

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,13 @@ where
9494
/-- Run the given build function in the Workspace's context. -/
9595
@[inline] def Workspace.runBuild (ws : Workspace) (build : BuildM α) (oldMode := false) : LogIO α := do
9696
let ctx ← mkBuildContext ws oldMode
97-
--withLockFile ws.lockFile do
97+
/-
98+
TODO:
99+
The lock file has been temporarily disabled (by lean4#2445)
100+
until we have an API for catching `Ctrl-C` during a build.
101+
Absent this, the lock file was too disruptive for users.
102+
-/
103+
-- withLockFile ws.lockFile do
98104
build.run ctx
99105

100106
/-- Run the given build function in the Lake monad's workspace. -/

0 commit comments

Comments
 (0)