TECH Signal 403
C3 0.8.3 adds @feat attribute, replacing top-level @if for conditional compilation
Illustration only Photo by Connie de Vries on Unsplash
C3 0.8.3 introduces the @feat attribute for top-level conditional compilation, replacing @if, and also adds MacOS SDK fetching, Windows Aarch64 support, and regex support.
The @feat attribute makes conditional compilation deterministic by using compiler-provided feature flags known before declaration registration, fixing unpredictable analysis ordering with @if. This improves IDE support and reduces forced analysis. Additionally, MacOS SDK fetching and Windows Aarch64 support ease cross-compilation.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
@feat uses compiler-provided feature flags known before declaration registration, solving the ordering problem of @if.
$feature is renamed to $feat, with $feature deprecated and removed in 0.9.0.
C3 0.8.3 also adds MacOS SDK fetching, Windows Aarch64 support, and experimental regex support.
THE CLUSTER