Skip to content

Implement Open API Namespace Support #256

@nikomatsakis

Description

@nikomatsakis
Contributor
Metadata
Point of contact @epage
Team(s) cargo, compiler
Goal document 2025h1/open-namespaces

Summary

Navigate the cross-team design work to get RFC 3243 implemented.

Tasks and status

  • Discussion and moral support (cargo, compiler Team)
    Compiler implementation ()
    Work through lingering cargo issues (@epage)

Activity

added this to the 2025h1 milestone on Feb 18, 2025
nikomatsakis

nikomatsakis commented on Feb 18, 2025

@nikomatsakis
ContributorAuthor

This issue is intended for status updates only.

For general questions or comments, please contact the owner(s) directly.

epage

epage commented on Feb 20, 2025

@epage
Contributor

Help wanted: this project goal needs a compiler developer to move forward.

eholk

eholk commented on Apr 30, 2025

@eholk
Contributor

@b-naber and I have been working on the rustc side of the implementation for this feature.

I merged rust-lang/rust#139647, which adds the unstables -Z namespaced-crates option to the compiler and enables parsing of externs like --extern foo::bar=libbar.rlib. @b-naber has led the resolver changes and has a draft PR up at rust-lang/rust#140271.

The implementation work has raised some new concerns about the overall direction, so work is ongoing to resolve those while continuing to make progress in the meantime.

b-naber

b-naber commented on Jun 10, 2025

@b-naber
Contributor

We have reached an agreement on the compiler implementation, and will implement it in the next 2-3 weeks hopefully.

b-naber

b-naber commented on Jul 28, 2025

@b-naber
Contributor

Chiming in for @epage here since further progress is still blocked on the compiler implementation. Unfortunately things have been moving more slowly than I had initially hoped. We have been doing some refactoring (rust-lang/rust#142547 and rust-lang/rust#144131) that allow us to introduce a new Scope for namespaced crates inside name resolution. There's a draft PR (rust-lang/rust#140271) that should be straightforward to adapt to the refactoring.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @epage@eholk@nikomatsakis@b-naber

      Issue actions

        Implement Open API Namespace Support · Issue #256 · rust-lang/rust-project-goals