Skip to content

docs: No std example - #6441

Open
Person-93 wants to merge 4 commits into
PyO3:mainfrom
Person-93:no_std_example
Open

Person-93 wants to merge 4 commits into
PyO3:mainfrom
Person-93:no_std_example

Conversation

@Person-93

Copy link
Copy Markdown
Contributor

This PR adds an example maturin-starter-nostd which is adapted from maturin-starter.

It also adds a nox session (and a small custom tool in rust) to analyze the compiled library and verify that it doesn't use anything from rust's std. This currently fails; I will be working towards fixing it in follow up PRs and once its fixed, we can add a CI job that runs the nox session.

@Person-93 Person-93 added CI-skip-changelog Skip checking changelog entry no_std Require `no_std` builds to pass labels Sep 19, 2026

This branch has not been deployed

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

Labels

CI-skip-changelog Skip checking changelog entry no_std Require `no_std` builds to pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant