Skip to content
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

Implement pragma compile on import bugzilla #24869 #16848

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

rikkimax
Copy link
Contributor

@rikkimax rikkimax force-pushed the add-pragma-compileonimport branch 2 times, most recently from 9aaf991 to 74c081d Compare September 18, 2024 07:43
@thewilsonator thewilsonator added the Needs Spec PR A PR updating the language specification needs to be submitted to dlang.org label Sep 18, 2024
@rikkimax rikkimax force-pushed the add-pragma-compileonimport branch 3 times, most recently from b694a13 to 7e1c921 Compare September 18, 2024 08:31
@rikkimax
Copy link
Contributor Author

I'll do a spec PR once I know @WalterBright hasn't got any disagreements about this.

@Yorizuka
Copy link

I am just here to voice my support for this feature. 👍

@rikkimax
Copy link
Contributor Author

I've got a use case as part of PhobosV3 specifically, memory allocators that for all intents and purposes is -betterC compatible and with the appropriate -i could work perfectly fine.

Disabling of global state (globalAllocator) and with a version version(PhobosV3AllocatorsCompile) would enable access to all modules with non-templated symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Spec PR A PR updating the language specification needs to be submitted to dlang.org
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants