[vm/ffi] Mark `dart:ffi` as stable
Closes: https://github.com/dart-lang/sdk/issues/34452
We will still actively adding new features to `dart:ffi`. Please refer
to https://github.com/dart-lang/sdk/labels/library-ffi for open issues
and feature requests.
Related documentation PRs:
- https://github.com/dart-lang/site-www/pull/2873
- https://github.com/flutter/website/pull/5195
Change-Id: I59a23e462c859da5dcd2e5548fb6fe295c5d8532
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/179765
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Michael Thomsen <mit@google.com>
diff --git a/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart b/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart
index eb87192..84d68ad 100644
--- a/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart
+++ b/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart
@@ -64,10 +64,7 @@
maturity: Maturity.UNSTABLE,
dart2jsPatchPath: "_internal/js_runtime/lib/developer_patch.dart"),
"ffi": const LibraryInfo("ffi/ffi.dart",
- categories: "Server",
- // TODO(dacoharkes): Update maturity when we release dart:ffi.
- // https://github.com/dart-lang/sdk/issues/34452
- maturity: Maturity.EXPERIMENTAL),
+ categories: "Server", maturity: Maturity.STABLE),
"html": const LibraryInfo("html/dart2js/html_dart2js.dart",
categories: "Client",
maturity: Maturity.WEB_STABLE,
diff --git a/sdk/lib/ffi/ffi.dart b/sdk/lib/ffi/ffi.dart
index 9b20999..22ea459 100644
--- a/sdk/lib/ffi/ffi.dart
+++ b/sdk/lib/ffi/ffi.dart
@@ -5,8 +5,6 @@
/**
* Foreign Function Interface for interoperability with the C programming language.
*
- * **NOTE**: Dart:FFI is in beta, and breaking API changes might still happen.
- *
* For further details, please see: https://dart.dev/server/c-interop
*
* {@category VM}