Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid implicit import of std::prelude #116

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

bavshin-f5
Copy link
Member

Conditional cfg_attr on no_std has an unforeseen consequence: implicit import of std::prelude in the default configuration. That makes it harder to notice if we accidentally use any std types available from the prelude.

Conditional `cfg_attr` on `no_std` has an unforeseen consequence:
implicit import of `std::prelude` in the default configuration.
That makes it harder to notice if we accidentally use any `std` types
available from the prelude.
@bavshin-f5 bavshin-f5 merged commit 18fe0e1 into nginx:master Jan 8, 2025
10 checks passed
@bavshin-f5 bavshin-f5 deleted the no-std-prelude branch January 8, 2025 18:57
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