Title: `rustpython-codegen` pulls in `std` transitively via its dependencies · Issue #9262 · RustPython/RustPython · GitHub
Open Graph Title: `rustpython-codegen` pulls in `std` transitively via its dependencies · Issue #9262 · RustPython/RustPython
X Title: `rustpython-codegen` pulls in `std` transitively via its dependencies · Issue #9262 · RustPython/RustPython
Description: 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...
Open Graph Description: 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 pu...
X Description: 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_...
Opengraph URL: https://github.com/RustPython/RustPython/issues/9262
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`rustpython-codegen` pulls in `std` transitively via its dependencies","articleBody":"This crate supports `no_std` conditionally:\nhttps://github.com/RustPython/RustPython/blob/657bab336e38557374fb9c48c528bc786ae0256e/crates/codegen/src/lib.rs#L2\n\nBut some of its dependencies do not support `no_std` and pull in `std` transitively:\n- `malachite-bigint` (version `0.14.0`): https://github.com/RustPython/RustPython/blob/657bab336e38557374fb9c48c528bc786ae0256e/crates/codegen/Cargo.toml#L30\n- `rustpython-ruff_python_ast` (version `0.17.1`): https://github.com/RustPython/RustPython/blob/657bab336e38557374fb9c48c528bc786ae0256e/crates/codegen/Cargo.toml#L20\n- `rustpython-ruff_text_size` (version `0.17.1`): https://github.com/RustPython/RustPython/blob/657bab336e38557374fb9c48c528bc786ae0256e/crates/codegen/Cargo.toml#L21\n\nAs 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.\n","author":{"url":"https://github.com/the-shank","@type":"Person","name":"the-shank"},"datePublished":"2026-10-20T18:37:10Z","url":"https://github.com/RustPython/RustPython/issues/9262"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b5195989-c9bd-7e9b-d6f4-7ceb23c8070d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B24A:1FE434:F61C7A:1452DD3:6B01D7D5 |
| html-safe-nonce | 2db5467d17885b1f32719a5577d3a5a7b1a56599031041530c5faa70ed9ac691 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjRBOjFGRTQzNDpGNjFDN0E6MTQ1MkREMzo2QjAxRDdENSIsInZpc2l0b3JfaWQiOiI0NTU1NTgxMTYzMDgyNzMzNTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 73577f6aff9ead142aa23cd429f62fd722cfd2ffd66195a354df7247892ff07a |
| hovercard-subject-tag | issue:5947394961 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RustPython/RustPython/9262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a34786419a69db4092c7902ba9fae4fce8260ea74eb863444caed543aadb230a/RustPython/RustPython/issues/9262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a34786419a69db4092c7902ba9fae4fce8260ea74eb863444caed543aadb230a/RustPython/RustPython/issues/9262 |
| og:image:alt | 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 pu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | the-shank |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width