-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
[SAoC] Implement -mangle-prefix #13115
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for your pull request and interest in making D better, @ahmetsait! 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 + dmd#13115" |
|
Bear in mind that I've been an outsider to the review process for saoc in general, and not knowing just how much of the implementation idea was written down in the proposal. What rationale is there for adding yet another command-line switch to the compiler? |
|
This is solely intended to be available to things like dub so one can
depend on multiple versions of a given module in the same dependency tree.
I guess in an ideal world you'd have some other abstraction for the option
since it's not really for human consumption but there isn't one (env?
Probably worse) available for dmd at least.
…On Fri, 1 Oct 2021, 08:14 Iain Buclaw, ***@***.***> wrote:
Bear in mind that I've been an outsider to the review process for saoc in
general, and not knowing just how much of the implementation idea was
written down in the proposal.
What rationale is there for adding yet another command-line switch to the
compiler?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13115 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLI75BTVVMAASQ6YQJEBKLUEVNVLANCNFSM5FCYSHRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
What about prefix mapping? We already have |
Could you elaborate a bit on what you're trying to suggest? |
0146dca
to
6797556
Compare
d60d62b
to
d313ac2
Compare
When compiling modules present in a directory named For example, every minor release of gdc in debian/ubuntu breaks ABI with the previous build of libphobos for the same version number, even when there's been no code changes. Why? Because the builder directory differs, and there's a number of templates that encode |
|
@ibuclaw anything else I'm missing? Also how can I reproduce that failing DAutoTest build? Not sure if it has anything to do with me. |
208e268
to
87a681f
Compare
8231483
to
4857c46
Compare
|
Is this still being pursued? |
|
Despite that I want to push this forward, my current focus is on my mental well-being and university studies. It is rather hard to find time and energy when every class I take requires work-heavy term projects. I would love to come back to this, but I'm afraid it is not a priority right now. |
|
Rebased. Anything else that needs to be done or design discussions to be made? |
|
That indeed is on old error, no idea why that is still occurring, considering you just rebased it. |
This PR tries to implement
-mangle-prefix=<path>:<prefix>Current status:
Constructive criticism is welcome.