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

Haiku: speed_t is defined as u8 for 32 and 64 bit systems #2057

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

nielx
Copy link
Contributor

@nielx nielx commented Jun 17, 2023

This fixes the build on 32 bit Haiku systems.

Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

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

As 32-bit Haiku is not an officially supported OS, I'll have to take your word for it.

bors r+

@bors bors bot merged commit 1376e15 into nix-rust:master Jun 29, 2023
asomers pushed a commit to asomers/nix that referenced this pull request Aug 27, 2023
2027: Update to bitflags 2.2.1. r=asomers a=qwandor

This is a new major version and requires some code changes.

2057: Haiku: `speed_t` is defined as `u8` for 32 and 64 bit systems r=asomers a=nielx

This fixes the build on 32 bit Haiku systems.

Co-authored-by: Andrew Walbran <[email protected]>
Co-authored-by: Niels Sascha Reedijk <[email protected]>
asomers pushed a commit to asomers/nix that referenced this pull request Aug 27, 2023
2027: Update to bitflags 2.2.1. r=asomers a=qwandor

This is a new major version and requires some code changes.

2057: Haiku: `speed_t` is defined as `u8` for 32 and 64 bit systems r=asomers a=nielx

This fixes the build on 32 bit Haiku systems.

Co-authored-by: Andrew Walbran <[email protected]>
Co-authored-by: Niels Sascha Reedijk <[email protected]>
asomers pushed a commit to asomers/nix that referenced this pull request Aug 27, 2023
2027: Update to bitflags 2.2.1. r=asomers a=qwandor

This is a new major version and requires some code changes.

2057: Haiku: `speed_t` is defined as `u8` for 32 and 64 bit systems r=asomers a=nielx

This fixes the build on 32 bit Haiku systems.

Co-authored-by: Andrew Walbran <[email protected]>
Co-authored-by: Niels Sascha Reedijk <[email protected]>
asomers added a commit to asomers/nix that referenced this pull request Aug 28, 2023
This reverts commit 0c3afc2.

This rolls back the version of bitflags used to 1.1.  Upgrading bitflags
to 2.0 inadvertently caused breaking changes in the r0.26 branch, by
virtue of the methods that the bitflags! macro adds.

Also, mask the bad_bit_mask lint, triggered by bitflags's generated
code.  That lint was the motivation for upgrading bitflags in the first
place.  The bitflags maintainers have decided not to fix those warnings
in the 1.x release series.
bitflags/bitflags#373

Fixes nix-rust#2112
asomers added a commit that referenced this pull request Aug 28, 2023
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