-
Notifications
You must be signed in to change notification settings - Fork 16
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
Expose --no-automatic-time-samples
in GHC.RTS.Flags
API
#243
Comments
Is there anything which can be done to move this issue forwards? It seems that we should keep |
Technically adding a record field is a breaking change, but given how obscure
Thus I'm content to vote in favor. Dear CLC members, any more opinions before we vote? |
It seems fine to me. If GHC's interface changes then we need to make the corresponding change to anything that represents its interface. Ultimately though, given that this is a GHC-only concern, I'd love to see this functionality migrated into a package under the sole purview of GHC HQ. |
Dear CLC members, let's vote on the proposal to extend @tomjaguarpaw @mixphix @hasufell @velveteer @angerman @parsonsmatt +1 from me. |
+1 I risk sounding monotonous and saying things redundantly, but I'll reiterate anyway that these kinds of GHC configuration types should be in a GHC-internal module in the future. EDIT: Actually I shouldn't say "internal". It's up to GHC HQ whether they expose these from a package that they intend to keep stable (I encourage them to do so), it just shouldn't be |
+1 |
2 similar comments
+1 |
+1 |
@tomjaguarpaw I think we are in agreement there, and if you or another CLC member would like to open a proposal to move GHC.RTS.Flags out of base then I think GHC developers would support that. |
Thanks all, that's enough votes to approve. |
This patch builds on 5077416 and modifies the base API to reflect the new RTS flag. CLC proposal #243 - haskell/core-libraries-committee#243 Fixes #24337
This patch builds on 5077416 and modifies the base API to reflect the new RTS flag. CLC proposal #243 - haskell/core-libraries-committee#243 Fixes #24337
This patch builds on 5077416 and modifies the base API to reflect the new RTS flag. CLC proposal #243 - haskell/core-libraries-committee#243 Fixes #24337
This patch builds on 5077416 and modifies the base API to reflect the new RTS flag. CLC proposal #243 - haskell/core-libraries-committee#243 Fixes #24337
GHC MR: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11916
In GHC MR !11424 a new RTS flag was added
--no-automatic-time-samples
.Therefore we should also modify
GHC.RTS.Flags
in the same manner so that users can query whether this option is set from their programs, and keep GHC.RTS.Flags up to date with the implemented RTS flags.The text was updated successfully, but these errors were encountered: