[Issue 18193] module config is in file 'rt/config.d' which cannot be read
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 12 17:35:40 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18193
--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/10afa6944bb3ac479cbcabc5499a86136907b95f
Fix issue 18193 - module config is in file 'rt/config.d' which cannot 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
https://github.com/dlang/druntime/commit/105d4a5ca279316665b3b796bf5ca7d249595caf
Add test to the bug 18193
--
More information about the Digitalmars-d-bugs
mailing list