Skip to content

Surface supported architectures per OS #8010

Open

Description

@dcharkes

Tracking issue for the surfacing on pub.dev part of:

We should consider surfacing the supported hardware architectures on pub per OS.

And there are more things we could report, such as the minimum supported SDK version for Android, iOS, and MacOS.

Activity

  1. sigurdm commented on Sep 3, 2024

    @sigurdm
    Contributor

    Is this really an issue for the site? (dart-lang/pub-dev)?

  2. dcharkes commented on Sep 3, 2024

    @dcharkes
    ContributorAuthor

    The reporting is? (I'll file another issue on the SDK for reasoning about SDK native version constraints in general.)

  3. transferred this issue fromdart-lang/pubon Sep 3, 2024
  4. jonasfj commented on Sep 3, 2024

    @jonasfj
    Member

    @dcharkes is pana going to run the native-assets build script to get this information, or is it something that is hardcoded in pubspec.yaml under platforms.android?

  5. dcharkes commented on Sep 3, 2024

    @dcharkes
    ContributorAuthor

    Those are two options.

    If we want the solution to work for Flutter plugins, and Dart packages only using dart:ffi, the pubspec.yaml.

    If we don't care about forcing those users to use a build hook, we could also make the hook report it. See the linked issues.

  6. sigurdm commented on Sep 5, 2024

    @sigurdm
    Contributor

    I think going with the hook is ok. I don't see the need for it in pubspec.yaml, and as you say, it can get out of sync with the actual platform support.

    Pana is sandboxed, and should(??) be ok running user code. But that would be something new for us to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions