The enable-macos-arm64-only feature flag should default to true in a future version of Flutter.
|
/// Whether to only build for arm64 when targeting macOS. |
|
const macOSArm64Only = Feature( |
|
name: 'building arm64 architecture only for non-debug macOS builds', |
|
extraHelpText: |
|
'If enabled, macOS release and profile builds generate Apple Silicon binaries instead of universal binaries. ' |
|
'This feature is disabled by default, but will default to enabled in a future release, before Intel Mac support is eventually discontinued. ' |
|
'See https://flutter.dev/go/macos-intel-deprecation for details.', |
|
configSetting: 'enable-macos-arm64-only', |
|
environmentOverride: 'FLUTTER_MACOS_ARM64_ONLY', |
|
master: FeatureChannelSetting(available: true), |
|
beta: FeatureChannelSetting(available: true), |
|
stable: FeatureChannelSetting(available: true), |
|
); |
We will still allow opting out by disabling the feature flag.
The
enable-macos-arm64-onlyfeature flag should default totruein a future version of Flutter.flutter/packages/flutter_tools/lib/src/features.dart
Lines 316 to 328 in 291b830
We will still allow opting out by disabling the feature flag.