swiftlang/swift

Build Debug versions of `swiftrt.o` (`swiftrtd.o`)

Open

#87,468 opened on Feb 24, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Swift (10,719 forks)batch import
Windowsgood first issueruntime

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (Avg merge 7d 12h) (530 merged PRs in 30d)

Description

Windows does not provide a stable ABI between debug and release mode. This requires that we provide a debug build of swiftrt.obj and adjust the driver to select the proper version of swiftrt.obj when linking. This should allow us to build in Debug configurations without running into _ITERATOR_DEBUG_LEVEL mismatches.

Contributor guide