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 some important std unit tests that were not running due to typo #59

Closed
wants to merge 3 commits into from

Conversation

benma
Copy link
Contributor

@benma benma commented Nov 14, 2023

#[cfg(features = "std")] is invalid and always disabled the whole block.

rustfmt re-applied and explictly excluded the language slices - it seems the project generally uses rustfmt there is a .rustfmt.toml file).

@tcharding
Copy link
Member

Good catch! I've been bitten by that feature/features thing before.

ACK 89385e6

@benma
Copy link
Contributor Author

benma commented Nov 23, 2023

Approve CI and merge? 😄

(edit: amended commit to add #[rustfmt::skip] to all language files, it was missing in some)

Not a lot of changes, and it is good to keep consistent with rustfmt
as many editors and rust-analyzer automatically apply it.
`#[cfg(features = "std")]` is invalid and always disabled the whole block.
@tcharding
Copy link
Member

Needs @stevenroose to kick CI, I don't have perms.

Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 28f5b7c

@stevenroose
Copy link
Collaborator

Merged the commit without the rustfmt stuff. Thanks, good catch!

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.

3 participants