commit | c6e52ef7f2ce5a91f23e500faab64c6a632401d0 | [log] [tgz] |
---|---|---|
author | Evan Wilde <etceterawilde@gmail.com> | Mon May 13 15:37:20 2024 -0700 |
committer | Evan Wilde <etceterawilde@gmail.com> | Wed May 15 15:10:15 2024 -0700 |
tree | cf934f28980297c8a735ac4e1df2082571e140ae | |
parent | 40513f6a90c0ede0cce54da7f345f6c22b26e8ab [diff] |
Swift: Support static-library try-compile type Top-level code only works as part of executables, which breaks when `CMAKE_TRY_COMPILE_TARGET_TYPE` is set to `STATIC_LIBRARY`. This patch fixes the test to something agnostic between executables and libraries while still verifying that we can import types from the standard library. Fixes: #25984