-
Notifications
You must be signed in to change notification settings - Fork 15
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
Re-enable %mean
hints in +mook
and refactor SIGINT handling
#222
Conversation
No idea why the linter is whining. Everything builds, tests, and lints fine on my end using |
@ashelkovnykov I just opened #223 so we can have in-sync rust versions between CI and devs without forcing Nix on people. |
Just a friendly reminder about this PR – merging the %mean hint changes will improve some of the error messages. @eamsden @tacryt-socryp Without the changes:
With the changes:
|
Thanks for the reminder, we will definitely get to this! |
The necessary part of this was restaged in #273. We're going to completely rethink aborts and bails in the near future, so this PR is obsolete. |
%mean
hint processing in+mook
. They were disabled around November of last year when they caused issues with booting pills.%mean
hint processing in+mook
(variable name shadowing issue - we were using the wrongcell
var)signal_hook
crate for processing SIGINTs with a flag that was checked on Nock2
,9
, and11
. We nowmprotect()
the entireNockStack
memory arena onSIGINT
and gracefully recover from the resultingSIGSEGV
.Resolves #144 & #152
Note: I don't think that the double-tap case of
SIGINT
is being handled fully correctly right now, but it's difficult for me to check because of the machine from which I need to work on for now. Would appreciate whomever reviews this PR to play around with sendingSIGINT
s viaCtrl + C
and compare to the ergonomics of doing so in Vere. Otherwise, I'll get to it on April 1, once I have my regular work machine back in action.