Skip to content

Commit d763cd5

Browse files
dcharkescommit-bot@chromium.org
authored andcommitted
[vm/ffi] Roll package:ffi to 1.0.0
G3 has been migrated (go/dart-ffi-1.0-g3-migration), so now we can roll the package version which has all the deprecated methods removed. Rolling `package:ffi` forward also means it is no longer using `sizeOf<T>()` generically. So the problems in the CFE expect files disappear. Change-Id: I33c7c06c6b7b34178908b175f08f3fc0f275be41 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185141 Auto-Submit: Daco Harkes <[email protected]> Reviewed-by: Clement Skau <[email protected]> Commit-Queue: Clement Skau <[email protected]>
1 parent 4f65d69 commit d763cd5

File tree

4 files changed

+1
-16
lines changed

4 files changed

+1
-16
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ vars = {
102102

103103
"chromedriver_tag": "83.0.4103.39",
104104
"dartdoc_rev" : "9e61a4f11091aaa8998525a2692b14148dc24ab5",
105-
"ffi_rev": "afb6b2c3a15c50e8f12ac15f368c7f1560f2d2f1",
105+
"ffi_rev": "f3346299c55669cc0db48afae85b8110088bf8da",
106106
"fixnum_rev": "16d3890c6dc82ca629659da1934e412292508bba",
107107
"file_rev": "0e09370f581ab6388d46fda4cdab66638c0171a1",
108108
"glob_rev": "a62acf590598f458d3198d9f2930c1c9dd4b1379",

pkg/front_end/testcases/general_nnbd_opt_out/ffi_sample.dart.weak.transformed.expect

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
//
2-
// Problems outside component:
3-
//
4-
// third_party/pkg/ffi/lib/src/allocation.dart: Info: Support for using non-constant type arguments 'T' in this FFI API is deprecated and will be removed in the next stable version of Dart. Rewrite the code to ensure that type arguments are compile time constants referring to a valid native type.
5-
//
61
library;
72
import self as self;
83
import "dart:core" as core;

pkg/front_end/testcases/nnbd/ffi_sample.dart.strong.transformed.expect

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
//
2-
// Problems outside component:
3-
//
4-
// third_party/pkg/ffi/lib/src/allocation.dart: Info: Support for using non-constant type arguments 'T' in this FFI API is deprecated and will be removed in the next stable version of Dart. Rewrite the code to ensure that type arguments are compile time constants referring to a valid native type.
5-
//
61
library /*isNonNullableByDefault*/;
72
import self as self;
83
import "dart:core" as core;

pkg/front_end/testcases/nnbd/ffi_sample.dart.weak.transformed.expect

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
//
2-
// Problems outside component:
3-
//
4-
// third_party/pkg/ffi/lib/src/allocation.dart: Info: Support for using non-constant type arguments 'T' in this FFI API is deprecated and will be removed in the next stable version of Dart. Rewrite the code to ensure that type arguments are compile time constants referring to a valid native type.
5-
//
61
library /*isNonNullableByDefault*/;
72
import self as self;
83
import "dart:core" as core;

0 commit comments

Comments
 (0)