We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09a9585 commit c454329Copy full SHA for c454329
src/lake/Lake/Build/Library.lean
@@ -76,7 +76,7 @@ def LeanLib.staticExportFacetConfig : LibraryFacetConfig staticExportFacet :=
76
@[specialize] protected def LeanLib.buildStaticFat
77
(self : LeanLib) : FetchM (BuildJob FilePath) := do
78
withRegisterJob s!"{self.name}:static.fat" do
79
- let mods ← self.rootModules.concatMapM fun mod => do
+ let mods ← (← self.modules.fetch).concatMapM fun mod => do
80
return (← mod.transImports.fetch).push mod
81
let oJobs ← mods.concatMapM fun mod =>
82
mod.nativeFacets (shouldExport := true) |>.mapM fun facet => fetch <| mod.facet facet.name
0 commit comments