GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `rustpython-compiler-core` pulls in `std` transitively via its dependencies · Issue #9256 · RustPython/RustPython

rustpython-compiler-core pulls in std transitively via its dependencies #9256

New issue
Copy link
New issue
Copy link
Open
Open
rustpython-compiler-core pulls in std transitively via its dependencies#9256
Copy link

Description

@the-shank
the-shank
opened on Oct 20, 2026
Issue body actions

This crate is marked #![no_std]:

RustPython/crates/compiler-core/src/lib.rs

Line 1 in 657bab3

#![no_std]

But some of its dependencies do not support no_std and pull in std transitively:

  • malachite-bigint (version 0.14.0):

    RustPython/crates/compiler-core/Cargo.toml

    Line 19 in 657bab3

    malachite-bigint = { workspace = true }
  • rustpython-ruff_source_file (version 0.17.1):

    RustPython/crates/compiler-core/Cargo.toml

    Line 13 in 657bab3

    ruff_source_file = { workspace = true }

As a result, builds targeting bare-metal or other no_std-only targets fail to compile, even though the crate itself contains no direct std usage.

Activity

  1. fanninpm commented on Oct 20, 2026

    @fanninpm
    fanninpm
    on Oct 20, 2026
    Contributor
    More actions

    Are you sure about the Malachite dependency not supporting no_std? You may want to report an issue upstream.

    As for the Ruff dependency, see astral-sh/ruff#23133

    Reacted by theshank
  2. the-shank commented on Oct 20, 2026

    @the-shank
    the-shank
    on Oct 20, 2026
    Author
    More actions
    1. Are you sure about the Malachite dependency not supporting no_std? You may want to report an issue upstream.

    thanks, will do!

  3. fanninpm
    marked rustpython-common pulls in std transitively via malachite-bigint #9261 as a duplicate of this issue on Oct 20, 2026
  4. fanninpm
    marked rustpython-codegen pulls in std transitively via its dependencies #9262 as a duplicate of this issue on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.