• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 12396681031

18 Dec 2024 03:59PM UTC coverage: 87.965% (+0.007%) from 87.958%
12396681031

push

github

web-flow
[native_assets_cli] Nest `CodeConfig` OS-specific config (#1824)

Dart and Flutter have been passing the minimum OS SDK versions for a while (in non-dry-run), which means we can mark these fields non-optional if the target OS is used.

This PR changes the `CodeConfig` to nest the OS versions (and iOS target SDK: device or simulator) to be nested under the OS and required.

Other side effects of this PR:

* Many unit tests where missing these (now) mandatory fields
* `native_toolchain_c` can no longer test without the minimum OS versions, which changed the iOS test `otool` output.

Addressing:

* https://github.com/dart-lang/native/issues/1738#issuecomment-2535921222

46 of 53 new or added lines in 3 files covered. (86.79%)

12133 of 13793 relevant lines covered (87.96%)

33.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.65
/pkgs/native_assets_cli/lib/src/code_assets/validation.dart


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc