May 02, 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@puremagic.com
          Reporter: kinke@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?).

--