swiftlang/swift-build
View on GitHubAllow libclang_scanner_scan_dependencies to propagate an environment dictionary to clang
Open
#835 opened on Oct 2, 2025
good first issue
Repository metrics
- Stars
- (2,219 stars)
- PR merge metrics
- (PR metrics pending)
Description
libclang_scanner_scan_dependencies is invoked in-process and doesn't currently have a means to propagate an environment dictionary, so it uses the calling process's.
This impacts the explicitModulesEnvironmentTest(), which has to mutate the process environment as a workaround.