Skip to content

no_std: Don't use the std prelude #76

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

waywardmonkeys
Copy link
Contributor

By being no_std and then using the std crate when the std feature is enabled, it is easier to detect when something requires std during development.

Copy link
Member

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

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

Agreed

@madsmtm
Copy link
Member

madsmtm commented Apr 29, 2025

Seems to need fixing in webdriver.rs though

By being `no_std` and then using the `std` crate when the `std`
feature is enabled, it is easier to detect when something
requires `std` during development.
@waywardmonkeys
Copy link
Contributor Author

Hopefully good to go now.

@madsmtm madsmtm merged commit 29852c9 into rust-windowing:main Apr 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants