Skip to content

Disable std prelude#1956

Merged
dtolnay merged 1 commit into
dtolnay:masterfrom
tamird:no-std-prep
Jan 7, 2026
Merged

Disable std prelude#1956
dtolnay merged 1 commit into
dtolnay:masterfrom
tamird:no-std-prep

Conversation

@tamird

@tamird tamird commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

This makes visible the dependency on std prelude macros such as
error::Error. Helpful for planning how to do no-std.

Tested with cargo hack clippy --feature-powerset -- --deny warnings
(all 2112 combinations).

See also dtolnay/proc-macro2#528.

This makes visible the dependency on std prelude macros such as
`error::Error`. Helpful for planning how to do no-std.

Tested with `cargo hack clippy --feature-powerset -- --deny warnings`
(all 2112 combinations).

@dtolnay dtolnay left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 8c9f7e1 into dtolnay:master Jan 7, 2026
19 checks passed
@tamird tamird deleted the no-std-prep branch January 7, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants