Avatar
Kishikawa Katsumi 12/2/2022 11:38 AM
It is intended that MacroEvaluationContext will grow over time to include more information about the build environment in which the macro is being expanded. For example, information about the target platform (such as OS, architecture, and deployment version) and any compile-time definitions passed via -D, should be included as part of the context.
ちょっと改訂された。MacroEvaluationContextにはビルド設定とかプラットフォームの情報とか入ってくる予定らしい。 https://github.com/DougGregor/swift-evolution/commit/d101cff73398386b471798b750d6f89798721211
(edited)