swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.72k stars 1.34k forks source link

Fix `swift-api-digester` search paths #7664

Open rauhul opened 3 months ago

rauhul commented 3 months ago

Fixes an architecture and implementation bug where the include paths for swift-api-digester were being determined inside build plan instead of by the target build description.

This is effectively the same change as #7621 but for api-digester rather than symbolgraph-extract.

This commit also leaves hooks in to enable api-digester on clang modules as a future improvement.

rauhul commented 3 months ago

@swift-ci test

MaxDesiatov commented 3 months ago

@swift-ci test linux

MaxDesiatov commented 3 months ago

CI compiler crash currently tracked as rdar://129847951