<bit> and <concepts> (#1497)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1497 The lowest common denominator we have had for Yoga has been Clang 12 + MSVC 2017 stdlib. This has allowed Yoga to use C++ 20 language features, but not library features. React Native for mobile has not been bound to this restriction. Builds using that toolchain are being updated to latest MSVC 2019 stdlib (which has good C++ 20 library support), along with Clang 17 (or maybe a stop at 15) pending projects using `-fcoroutines-ts` being migrated to C++ 20. This tests out some C++ 20 standard library usages against the current Clang 12 + MSVC 2019 stdlib toolchain that didn't work before, and adds a couple concepts for better constraints/compiler error messages if misused. This bumps min-tested XCode (and minimum required) version to 14.3, matching a similar change for React Native. This should probably be bumped to 15 sometime before Apple starts requiring 15+ to go out to the iOS app store. We are approaching a practical support range of: 1. XCode >= 14.3 2. NDK >= 26 3. Clang/libc++ >= 14 4. GCC/libstdc++ >= 11 5. MSVC >= 16.11 (VS 2019) Changelog: [Internal] Reviewed By: cortinico Differential Revision: D51604487 fbshipit-source-id: d394d0d86672b69781b8ae071d87adcf944ddc72
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ab37ed70ae
commit
a43754266a
4
.github/actions/setup-apple/action.yml
vendored
4
.github/actions/setup-apple/action.yml
vendored
@@ -7,3 +7,7 @@ runs:
|
||||
- name: Install Cocoapods
|
||||
shell: bash
|
||||
run: sudo gem install cocoapods
|
||||
|
||||
- uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: 14.3.1
|
||||
|
Reference in New Issue
Block a user