[Issue 23078] New: importC: generated code shouldn't depend on druntime
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 2 10:28:28 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23078
Issue ID: 23078
Summary: importC: generated code shouldn't depend on druntime
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: kinke at gmx.net
All (or at least the vast majority) of the *.c tests in the testsuite should be
linkable without druntime, but aren't with DMD (unlike LDC), see the
https://github.com/dlang/dmd/pull/14056 CI failures.
TypeInfos seem to be emitted into the C object files, and some builtins like
`__builtin_va_end` are actually druntime imports (to be duplicated in
druntime's __builtins.di?).
--
More information about the Digitalmars-d-bugs
mailing list