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-codegen` pulls in `std` transitively via its dependencies · Issue #9262 · RustPython/RustPython

rustpython-codegen pulls in std transitively via its dependencies #9262

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
rustpython-codegen pulls in std transitively via its dependencies#9262
Copy link

Description

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

This crate supports no_std conditionally:

RustPython/crates/codegen/src/lib.rs

Line 2 in 657bab3

#![cfg_attr(not(feature = "std"), 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/codegen/Cargo.toml

    Line 30 in 657bab3

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

    RustPython/crates/codegen/Cargo.toml

    Line 20 in 657bab3

    ruff_python_ast = { workspace = true }
  • rustpython-ruff_text_size (version 0.17.1):

    RustPython/crates/codegen/Cargo.toml

    Line 21 in 657bab3

    ruff_text_size = { 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

  2. fanninpm
    closed this as a duplicateof rustpython-compiler-core pulls in std transitively via its dependencies #9256 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.