Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 03ea363

Browse files
Remove use of --nnbd-agnostic (#53055)
The Dart VM no longer supports unsound null safety, so we don't need to generate the platform in agnostic mode.
1 parent d032390 commit 03ea363

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/snapshot/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ compile_platform("strong_platform") {
238238
flutter_runtime_mode == "release" || flutter_runtime_mode == "jit_release"
239239
args = [
240240
"--enable-experiment=generic-metadata",
241-
"--nnbd-agnostic",
241+
"--nnbd-strong",
242242
"--target=flutter",
243243
"-Ddart.vm.product=$is_runtime_mode_release",
244244
"-Ddart.isVM=true",

shell/platform/fuchsia/dart_runner/kernel/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ compile_platform("kernel_platform_files") {
2020
]
2121

2222
args = [
23-
"--nnbd-agnostic",
23+
"--nnbd-strong",
2424
"--target=dart_runner",
2525
"dart:core",
2626
]

shell/platform/fuchsia/flutter/kernel/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ compile_platform("kernel_platform_files") {
2020
]
2121

2222
args = [
23-
"--nnbd-agnostic",
23+
"--nnbd-strong",
2424
"--target=flutter_runner",
2525
"dart:core",
2626
]

0 commit comments

Comments
 (0)