Skip to content

Standardize stdlib dependency knowledge location #50684

@staticfloat

Description

@staticfloat

We should have a single source of truth for stdlib dependency knowledge. As it stands, we have 2.5 separate places where this knowledge is encoded:

  1. In stdlib Project.toml such as here
  2. In pkgimage.mk, such as here.
    2.5. In sysimg.jl, such as here (Note, this one counts as 1/2 because only topological sort order is recorded, rather than a full dependency graph).

This makes it needlessly difficult to alter stdlib dependencies. Instead, we should automatically compute this from the Project.toml files in all cases. We should also record the sysimg/pkgimage decision in the same place, perhaps by setting a preference in the Project.toml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibJulia's standard library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions