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

Commit 8dc3a4c

Browse files
author
Jonah Williams
authored
Add missing top level to stub_ui (#9060)
1 parent 6299af3 commit 8dc3a4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/stub_ui/lib/src/ui/natives.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ part of ui;
2323
List<int> saveCompilationTrace() {
2424
throw UnimplementedError();
2525
}
26+
27+
// If we actually run on big endian machines, we'll need to do something smarter
28+
// here. We don't use [Endian.Host] because it's not a compile-time
29+
// constant and can't propagate into the set/get calls.
30+
const Endian _kFakeHostEndian = Endian.little;

0 commit comments

Comments
 (0)