The runtime for Blocks may not be available even though the Blocks
language extension _is_ available. Instead of potentially failing,
this commit is much more conservative and assumes the runtime for
Blocks is only provided on Apple platforms.
Details
Details
- Reviewers
davezarzycki compnerd - Group Reviewers
Restricted Project - Commits
- rGf76c42416cf4: [libc++] Improve the detection of whether the blocks runtime is available
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
We should be able to check for this in CMake, but that can be improved in the future. (Note that the blocks runtime is in compiler-rt, so we should actually be able to build and use that on all targets)