Skip to content

Remove cfg hacks for old MSRV - #3525

Merged
bors merged 1 commit into
rust-lang:mainfrom
JohnTitor:rm-old-cfg-hacks
Jan 8, 2024
Merged

Remove cfg hacks for old MSRV#3525
bors merged 1 commit into
rust-lang:mainfrom
JohnTitor:rm-old-cfg-hacks

Conversation

@JohnTitor

Copy link
Copy Markdown
Member

No description provided.

@rustbot

rustbot commented Jan 7, 2024

Copy link
Copy Markdown
Collaborator

@JohnTitor: no appropriate reviewer found, use r? to override

@rustbot

rustbot commented Jan 7, 2024

Copy link
Copy Markdown
Collaborator

Some changes occurred in OpenBSD module

cc @semarie

Some changes occurred in solarish module

cc @jclulow, @pfmooney

@JohnTitor
JohnTitor force-pushed the rm-old-cfg-hacks branch 2 times, most recently from 4ccb290 to 1ef7e87 Compare January 7, 2024 19:22
@JohnTitor

Copy link
Copy Markdown
Member Author

@bors r+

@bors

bors commented Jan 7, 2024

Copy link
Copy Markdown
Contributor

📌 Commit 1ef7e87 has been approved by JohnTitor

It is now in the queue for this repository.

@bors

bors commented Jan 7, 2024

Copy link
Copy Markdown
Contributor

⌛ Testing commit 1ef7e87 with merge a5dfaa3...

bors added a commit that referenced this pull request Jan 7, 2024
@bors

bors commented Jan 7, 2024

Copy link
Copy Markdown
Contributor

💔 Test failed - checks-actions

@JohnTitor

Copy link
Copy Markdown
Member Author

@bors r+

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

📌 Commit 061a7e3 has been approved by JohnTitor

It is now in the queue for this repository.

bors added a commit that referenced this pull request Jan 8, 2024
@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

⌛ Testing commit 061a7e3 with merge 6478ec6...

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

💔 Test failed - checks-actions

@semarie

semarie commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

FYI, it is fine on openbsd

@JohnTitor

Copy link
Copy Markdown
Member Author

@bors r+

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

📌 Commit ba4892f has been approved by JohnTitor

It is now in the queue for this repository.

@JohnTitor

Copy link
Copy Markdown
Member Author

@bors r+

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

📌 Commit 7a4517b has been approved by JohnTitor

It is now in the queue for this repository.

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

⌛ Testing commit 7a4517b with merge 298b0a7...

bors added a commit that referenced this pull request Jan 8, 2024
@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

💔 Test failed - checks-actions

@JohnTitor

Copy link
Copy Markdown
Member Author

@bors r+

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

📌 Commit e2e6fd6 has been approved by JohnTitor

It is now in the queue for this repository.

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

⌛ Testing commit e2e6fd6 with merge a0d9be1...

@bors

bors commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing a0d9be1 to main...

Comment thread Cargo.toml
description = """
Raw FFI bindings to platform libraries like libc.
"""
rust-version = "1.71.0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe update to the 2021 edition too? The 2015 edition has quite different name resolution rules that are foreign for people having learned rust in 2018 or later as well as anyone who has forgotten the 2015 rules.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good point, we should migrate to it, yeah.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

But the problem is that ctest2 uses a quite old librustc_syntax fork and doesn't support newer syntax at all. We have to rewrite ctest2 first :(

@djc

djc commented May 10, 2024

Copy link
Copy Markdown
Contributor

It's very surprising to me that there's no discussion or reference here to what the new MSRV should be. Was this discussed in an issue? If so, please link the issue in the PR description.

In my opinion it would be nice to stick to 1.63 for the time being, matching Tokio and a bunch of other downstreams that would like to support stable Debian.

@TheBlueMatt

TheBlueMatt commented May 10, 2024

Copy link
Copy Markdown

I'm incredibly surprised that libc decided here to break downstream (which is basically the entire Rust ecosystem) here, especially with still no support for fixing the breakage via automated pinning/downgrade in the impacted versions of cargo.

@Amanieu

Amanieu commented May 10, 2024

Copy link
Copy Markdown
Member

This change only applies to the v1.0 branch (main) which is not released yet. The v0.2 branch still has the old MSRV.

@ChrisDenton

Copy link
Copy Markdown
Member

Maybe the version should be changed on the main branch to avoid further confusion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants