Skip to content

removing freebsd 11 EOL proposal. #3139

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devnexen
Copy link
Contributor

@devnexen devnexen commented Mar 5, 2023

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Mar 5, 2023

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@devnexen devnexen marked this pull request as ready for review March 5, 2023 10:34
@JohnTitor
Copy link
Member

Note that there're some overrides with #2406.

@bors
Copy link
Contributor

bors commented Mar 8, 2023

☔ The latest upstream changes (presumably #3037) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Contributor

bors commented May 6, 2023

☔ The latest upstream changes (presumably #2999) made this pull request unmergeable. Please resolve the merge conflicts.

@workingjubilee
Copy link
Member

@devnexen Please resolve the merge conflict.

@devnexen devnexen force-pushed the remove_fbsd11_support branch from f01623a to 9e7d63b Compare July 26, 2023 20:42
build.rs Outdated
Some(13) if libc_ci => set_cfg("freebsd13"),
Some(14) if libc_ci => set_cfg("freebsd14"),
Some(_) | None => set_cfg("freebsd11"),
Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"),
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like a merge conflict. You should use set_cfg instead of println!

// APIs that were changed after FreeBSD 11

// The type of `nlink_t` changed from `u16` to `u64` in FreeBSD 12:
pub type nlink_t = u16;
Copy link
Contributor

Choose a reason for hiding this comment

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

All of the stuff that was in this file should now be moved into freebsdlike/freebsd/mod.rs For example, move all three nlink_t definitions from freebsd{12,13,14}.rs into that file.

@devnexen devnexen force-pushed the remove_fbsd11_support branch 3 times, most recently from ce5b55f to 72de88e Compare July 26, 2023 22:46
@workingjubilee
Copy link
Member

workingjubilee commented Jul 28, 2023

I started a conversation on Zulip to see how people feel about this.

@tgross35
Copy link
Contributor

This is basically 100% conflicted, but @devnexen would you be up for rebasing this?

EOL was 5 years ago so I can't imagine anyone would object at this point.

@devnexen devnexen marked this pull request as draft August 10, 2025 06:07
@devnexen devnexen force-pushed the remove_fbsd11_support branch from 72de88e to e3d1192 Compare August 10, 2025 06:07
@devnexen devnexen force-pushed the remove_fbsd11_support branch 2 times, most recently from 3fe771e to 662e1b4 Compare August 10, 2025 06:24
@rustbot rustbot added the O-x86 label Aug 10, 2025
@devnexen devnexen force-pushed the remove_fbsd11_support branch 3 times, most recently from 1c0de03 to 5eb24f0 Compare August 10, 2025 07:02
@devnexen devnexen marked this pull request as ready for review August 10, 2025 07:43
build.rs Outdated
@@ -74,8 +72,6 @@ fn main() {

match which_freebsd {
x if x < 10 => panic!("FreeBSD older than 10 is not supported"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you update this comment?

@tgross35
Copy link
Contributor

I haven't looked through this in detail yet but the changes look correct. @asomers would you be able to review?

@devnexen devnexen force-pushed the remove_fbsd11_support branch from 5eb24f0 to 2da0438 Compare August 11, 2025 04:44
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.

7 participants