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

Remove sigevent support on Fuchsia #2079

Merged
merged 1 commit into from
Aug 6, 2023
Merged

Conversation

asomers
Copy link
Member

@asomers asomers commented Jul 17, 2023

It triggers UB, which the compiler warns about beginning with 1.41.0. Remove it, due to lack of a Fuchsia maintainer and lack of feedback from the original Fuchsia porter.

Fixes #1441

@asomers
Copy link
Member Author

asomers commented Jul 17, 2023

cc @amanda-tait @tamird

It triggers UB, which the compiler warns about beginning with 1.41.0.
Remove it, due to lack of a Fuchsia maintainer and lack of feedback from
the original Fuchsia porter.

Fixes nix-rust#1441
@tamird
Copy link
Contributor

tamird commented Jul 17, 2023

Fuchsia doesn't have signals. LGTM.

@asomers
Copy link
Member Author

asomers commented Jul 17, 2023

Fuchsia doesn't have signals. LGTM.

And yet it defines all of this stuff in libc. Should those be removed?

@tamird
Copy link
Contributor

tamird commented Jul 17, 2023

Probably! I believe @cramertj added those things, or at least moved them around?

@asomers
Copy link
Member Author

asomers commented Jul 18, 2023

bors r+

bors bot added a commit that referenced this pull request Jul 18, 2023
2079: Remove sigevent support on Fuchsia r=asomers a=asomers

It triggers UB, which the compiler warns about beginning with 1.41.0. Remove it, due to lack of a Fuchsia maintainer and lack of feedback from the original Fuchsia porter.

Fixes #1441

Co-authored-by: Alan Somers <asomers@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 18, 2023

Build failed:

@asomers
Copy link
Member Author

asomers commented Aug 6, 2023

bors retry

@bors bors bot merged commit d23b798 into nix-rust:master Aug 6, 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.

Undefined behavior in SigEvent::new on Fuchsia
2 participants