Skip to content

Install a compiler-compatible standard-library revision #768

Closed

Description

@LunaStev

Motivation

The installer hardcodes STD_REFERENCE to master and rejects compatibility mismatches only after fetching. Older compiler releases have no way to select a matching std revision through this interface. This limitation was identified from source; no old-release installation failure was executed during this audit.

Starting points: src/std.rs.

Scope

Provide a compiler-compatible reference selection/pinning contract and record the resolved revision in INSTALL_META. Keep staged validation and preservation of a working installation on failure.

Difficulty: hard.

Completion criteria

  • Select and validate an agreed compatible release/ref.
  • Handle nonexistent refs, compatibility mismatches and download failures without replacing the current tree.
  • Test metadata and rollback behavior without depending on a moving upstream branch.

Design decision needed: Decide whether the default pins the compiler release, or whether an explicit reference option is introduced first; define the compiler/std release mapping.

Please mention @LunaStev to discuss the design before starting implementation.

Activity

  1. added
    enhancement
    help wanted
    discussion
    needs testing
    cross-platform
    on Sep 25, 2026
  2. self-assigned this
    on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cross-platformdiscussionenhancementhelp wantedneeds testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions