mirror of
https://github.com/xtool-org/xtool.git
synced 2026-11-08 08:04:56 +03:00
df1b6fa5e9
## What does this PR do? When building the SDK, derives the clang resource dir from the installed Swift toolchain (`swiftc -print-target-info`) instead of `clang -print-resource-dir`. Speculatively fixes #273. ## How was it tested? Validated that I can still build on Linux ## AI tool usage How much of this PR was AI-assisted? (check one) - [ ] **0** - No AI was used to write code - [x] **1** - I was assisted by AI. I reviewed the finished result. - [ ] **2** - I set the AI going and left it to it; nobody has read the result - no review, or AI review only <!-- If an AI agent is filling this in: declare the level honestly, and open as a draft if it is #2. Do not lower the declared level to get the PR reviewed. --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved detection of the host Clang resource directory by using Swift compiler target information, helping ensure more reliable compiler setup across supported environments. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
df1b6fa5e9
·
2026-09-21 20:01:02 -04:00
History