@@ -291,7 +291,7 @@ def Module.recBuildLean (mod : Module) : FetchM (Job Unit) := do
291291
292292/-- The `ModuleFacetConfig` for the builtin `leanArtsFacet`. -/
293293def Module.leanArtsFacetConfig : ModuleFacetConfig leanArtsFacet :=
294- mkFacetJobConfig (·. recBuildLean)
294+ mkFacetJobConfig recBuildLean
295295
296296/-- The `ModuleFacetConfig` for the builtin `oleanFacet`. -/
297297def Module.oleanFacetConfig : ModuleFacetConfig oleanFacet :=
@@ -377,11 +377,11 @@ def Module.recBuildLeanCToONoExport (self : Module) : FetchM (Job FilePath) := d
377377
378378/-- The `ModuleFacetConfig` for the builtin `coNoExportFacet`. -/
379379def Module.coNoExportFacetConfig : ModuleFacetConfig coNoExportFacet :=
380- mkFacetJobConfig Module. recBuildLeanCToONoExport
380+ mkFacetJobConfig recBuildLeanCToONoExport
381381
382382/-- The `ModuleFacetConfig` for the builtin `coFacet`. -/
383383def Module.coFacetConfig : ModuleFacetConfig coFacet :=
384- mkFacetJobConfig fun mod =>
384+ mkFacetJobConfig (memoize := false ) fun mod =>
385385 if Platform.isWindows then mod.coNoExport.fetch else mod.coExport.fetch
386386
387387/-- Recursively build the module's object file from its bitcode file produced by `lean`. -/
@@ -392,25 +392,25 @@ def Module.recBuildLeanBcToO (self : Module) : FetchM (Job FilePath) := do
392392
393393/-- The `ModuleFacetConfig` for the builtin `bcoFacet`. -/
394394def Module.bcoFacetConfig : ModuleFacetConfig bcoFacet :=
395- mkFacetJobConfig Module. recBuildLeanBcToO
395+ mkFacetJobConfig recBuildLeanBcToO
396396
397397/-- The `ModuleFacetConfig` for the builtin `oExportFacet`. -/
398398def Module.oExportFacetConfig : ModuleFacetConfig oExportFacet :=
399- mkFacetJobConfig fun mod =>
399+ mkFacetJobConfig (memoize := false ) fun mod =>
400400 match mod.backend with
401401 | .default | .c => mod.coExport.fetch
402402 | .llvm => mod.bco.fetch
403403
404404/-- The `ModuleFacetConfig` for the builtin `oNoExportFacet`. -/
405405def Module.oNoExportFacetConfig : ModuleFacetConfig oNoExportFacet :=
406- mkFacetJobConfig fun mod =>
406+ mkFacetJobConfig (memoize := false ) fun mod =>
407407 match mod.backend with
408408 | .default | .c => mod.coNoExport.fetch
409409 | .llvm => error "the LLVM backend only supports exporting Lean symbols"
410410
411411/-- The `ModuleFacetConfig` for the builtin `oFacet`. -/
412412def Module.oFacetConfig : ModuleFacetConfig oFacet :=
413- mkFacetJobConfig fun mod =>
413+ mkFacetJobConfig (memoize := false ) fun mod =>
414414 match mod.backend with
415415 | .default | .c => mod.co.fetch
416416 | .llvm => mod.bco.fetch
@@ -444,7 +444,7 @@ def Module.recBuildDynlib (mod : Module) : FetchM (Job Dynlib) :=
444444
445445/-- The `ModuleFacetConfig` for the builtin `dynlibFacet`. -/
446446def Module.dynlibFacetConfig : ModuleFacetConfig dynlibFacet :=
447- mkFacetJobConfig Module. recBuildDynlib
447+ mkFacetJobConfig recBuildDynlib
448448
449449/--
450450A name-configuration map for the initial set of
0 commit comments