-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split off unison-runtime
package
#5308
Conversation
19ca084
to
494be0b
Compare
module Unison.Codebase.Execute where | ||
module Unison.Codebase.Execute | ||
( execute, | ||
codebaseToCodeLookup, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The one definition I had to move
@@ -418,12 +415,6 @@ typeLookupForDependencies codebase s = do | |||
<|> Map.lookup r (TL.effectDecls tl) $> () | |||
) | |||
|
|||
toCodeLookup :: (MonadIO m) => Codebase m Symbol Parser.Ann -> CL.CodeLookup Symbol m Parser.Ann |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to Codebase.Execute.codebaseToCodeLookup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copy-pasta'd these test utils from parser-typechecker
I poked around a little but couldn't see why things were going wrong nix-wise. Any ideas? cc @sellout |
On a second run the error is different or more obvious:
Maybe one dependency deletion too many, @ChrisPenner? Though I wonder why |
@aryairani Oh interesting; I'm guessing we just don't build benchmarks in CI (which if we're not running them in CI is probably fine, but of course not great if we can accidentally break their builds) You need to |
494be0b
to
9cdff27
Compare
Need |
Overview
Split off the runtime for two reasons:
-profile -O2
; which takes ages.While I was at it, I added
-Wunused-packages
and cleaned that up. There were a lot.Implementation notes
codebaseToCodeLookup
)fromCodebase.hs
intoCodebase.Execute.hs
Test coverage
Discovered that the
Rsa.hs
tests weren't actually included in any test suite for some reason haha. Added that.