Commit ccbd8d16 authored by bardur.arantsson's avatar bardur.arantsson Committed by GitHub
Browse files

Merge pull request #4022 from ezyang/pr/T3996a

Allocate different ComponentId for lib and exe.
parents 325d363e 4dfb76f2
......@@ -2844,7 +2844,10 @@ packageHashInputs
}) =
PackageHashInputs {
pkgHashPkgId = packageId elab,
pkgHashComponent = Nothing,
pkgHashComponent =
case elabPkgOrComp elab of
ElabPackage _ -> Nothing
ElabComponent comp -> Just (compSolverName comp),
pkgHashSourceHash = srchash,
pkgHashPkgConfigDeps = Set.fromList (elabPkgConfigDependencies elab),
pkgHashDirectDeps =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment