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

Raise MSRV to 1.40.0 #1358

Merged
merged 3 commits into from
Dec 15, 2020
Merged

Raise MSRV to 1.40.0 #1358

merged 3 commits into from
Dec 15, 2020

Conversation

asomers
Copy link
Member

@asomers asomers commented Dec 11, 2020

This will shortly be needed for Fuchsia support.

This will shortly be needed for Fuchsia support.
@tamird
Copy link
Contributor

tamird commented Dec 11, 2020

I saw that same musl issue in my PR (https://github.com/nix-rust/nix/pull/1285/files#diff-c2454cd83dd7725daae35caff3a062f117176b9d4922393e97307b2a91e2aa12L1073).

I guess this is the cause of the mac failures. Thanks for investigating. I'll watch this PR.

In older versions of Musl, ttyname_r would wrongly return ENOTTY instead
of EBADF.  We expected that bug in our test suite.  But Rust
1.37.0 updated Musl to 1.1.22, which fixes the problem.  This change
reverts our workaround.

https://www.openwall.com/lists/musl/2018/09/15/2
rust-lang/rust@aaf6698
@asomers
Copy link
Member Author

asomers commented Dec 11, 2020

@posborne @kamalmarhubi do either of you have a Mac and want to try debugging the OSX failure? It fails every time. But when I add a line of debugging just above the libc::aio_suspend, it passes. So it seems like a timing issue.

Copy link
Member

@kamalmarhubi kamalmarhubi left a comment

Choose a reason for hiding this comment

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

unfortunately I don't have a mac :/

On Cirrus-CI, this test frequently fails with EINVAL.  The error goes
away if I add a line of debugging, so it's probably a timing issue.  But
I can't debug it myself.

Issue nix-rust#1361
@asomers asomers merged commit b1b162f into nix-rust:master Dec 15, 2020
@asomers asomers deleted the rust_1.40.0 branch December 15, 2020 02:55
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