Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

Comments

Remove --DRT-oncycle=deprecate option#3841

Merged
dkorpel merged 1 commit intodlang:masterfrom
dkorpel:remove-old-mctor-cycle
Jun 20, 2022
Merged

Remove --DRT-oncycle=deprecate option#3841
dkorpel merged 1 commit intodlang:masterfrom
dkorpel:remove-old-mctor-cycle

Conversation

@dkorpel
Copy link
Contributor

@dkorpel dkorpel commented Jun 16, 2022

Remove the old "deprecate" mode for cycle handling: #1720

Reduces the size of a void main() {} program. Results from dmd test.d && du test:

before after
BUILD=debug 2604 Kb 2588 Kb
BUILD=release 888 Kb 884 Kb

@dkorpel dkorpel requested a review from schveiguy as a code owner June 16, 2022 12:06
@dlang-bot
Copy link
Contributor

Thanks for your pull request and interest in making D better, @dkorpel! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + druntime#3841"

Copy link
Contributor

@thewilsonator thewilsonator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me, cc @schveiguy

@dkorpel dkorpel force-pushed the remove-old-mctor-cycle branch from 2c31cd9 to 098b2a7 Compare June 16, 2022 13:18
@dkorpel
Copy link
Contributor Author

dkorpel commented Jun 16, 2022

Is there someone who can read the test log and spot the actual error?

@dkorpel dkorpel force-pushed the remove-old-mctor-cycle branch 2 times, most recently from 0399acd to cd86d10 Compare June 16, 2022 13:34
@dkorpel
Copy link
Contributor Author

dkorpel commented Jun 16, 2022

Looks like it was test_cycles after all, but the output continued after that so it looked like it had to do with code coverage or the gc benchmark on some CIs.

@dkorpel
Copy link
Contributor Author

dkorpel commented Jun 16, 2022

Spec PR: dlang/dlang.org#3320

@ljmf00
Copy link
Member

ljmf00 commented Jun 16, 2022

Isn't this worth deprecating instead of just removing?

@dkorpel
Copy link
Contributor Author

dkorpel commented Jun 16, 2022

Isn't this worth deprecating instead of just removing?

It was a helper for transitioning code that relied on the old faulty cycle checker. It's over 5 years old now, and this is not something worth including in every D program.

@ljmf00
Copy link
Member

ljmf00 commented Jun 16, 2022

Isn't this worth deprecating instead of just removing?

It was a helper for transitioning code that relied on the old faulty cycle checker. It's over 5 years old now, and this is not something worth including in every D program.

Ok, if no one is using it makes sense to remove it. We should, at least, leave a notice to remove this in the future and make it completely unrecognized.

@dkorpel dkorpel force-pushed the remove-old-mctor-cycle branch from cd86d10 to 1bf4c7c Compare June 17, 2022 11:51
@dkorpel
Copy link
Contributor Author

dkorpel commented Jun 17, 2022

We should, at least, leave a notice to remove this in the future and make it completely unrecognized.

Done

@thewilsonator thewilsonator added the 72h no objection -> merge The PR will be merged if there are no objections raised. label Jun 17, 2022
@dkorpel dkorpel merged commit 20ee98a into dlang:master Jun 20, 2022
@dkorpel dkorpel deleted the remove-old-mctor-cycle branch June 20, 2022 09:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

72h no objection -> merge The PR will be merged if there are no objections raised.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants