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

Conversation

@MartinNowak
Copy link
Member

No description provided.

belka-ew and others added 6 commits January 5, 2018 11:15
… be read (edit)

src/rt isn't shipped with druntime's imports, so it can't be
imported directly from core.runtime. This PR fixes importing rt.config
from a public druntime module by replacing it with an extern
definition.

To reproduce the bug create a file that imports 'core.runtime' and
compile it with:
dmd -unittest -deps filename.d

The error is:
/usr/include/dmd/druntime/import/core/runtime.d(653): Error: module
config is in file 'rt/config.d' which cannot be read
Fix import from rt.config
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @MartinNowak!

Bugzilla references

Auto-close Bugzilla Description
18193 module config is in file 'rt/config.d' which cannot be read

@dlang-bot dlang-bot added the Bug Fix Include reference to corresponding bugzilla issue label Jan 16, 2018
@dlang-bot dlang-bot merged commit 4992bfa into dlang:master Jan 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Bug Fix Include reference to corresponding bugzilla issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants