-
-
Notifications
You must be signed in to change notification settings - Fork 701
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
std.typecons: Greatly simplify scoped() #8460
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request and interest in making D better, @kinke! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
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 referencesYour 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 locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#8460" |
FYI @ljmf00. |
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.
Thanks!
Ahhhhhgg, we are having the same problem as the TLS alignment on druntime. |
Yeah, looks like there's a corresponding DMD backend issue for 32-bit COFF too. :( |
Blocked by https://issues.dlang.org/show_bug.cgi?id=16098. |
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.
LGTM as well, pretty nice cleanup!
@kinke Windows CI tests are failing:
|
Yeah, same issue as ~a year ago. I assumed the compiler fix for https://issues.dlang.org/show_bug.cgi?id=16098 finally fixed this for DMD, but no it didn't. |
|
@kinke, what would it take to unblock this? I have Windows but not enough knowledge to reproduce on my own. |
It presumably still takes a DMD backend fix wrt. violated (over-)alignment; maybe only 32-bit codegen specific, maybe not. Maybe for stack allocations, maybe for static data. |
Looking good so far. (Ignore the Buildkite style failure, that is unrelated and has been fixed), the MacOS failures are random and expected. |
oh, still fails on windows |
The previous implementation was just terrible, presumably dating back to when
align(N)
was buggy.