-
Notifications
You must be signed in to change notification settings - Fork 1k
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
removing freebsd 11 EOL proposal. #3139
base: main
Are you sure you want to change the base?
Conversation
r? @JohnTitor (rustbot has picked a reviewer for you, use r? to override) |
Note that there're some overrides with #2406. |
☔ The latest upstream changes (presumably #3037) made this pull request unmergeable. Please resolve the merge conflicts. |
e30b5ac
to
f01623a
Compare
☔ The latest upstream changes (presumably #2999) made this pull request unmergeable. Please resolve the merge conflicts. |
@devnexen Please resolve the merge conflict. |
f01623a
to
9e7d63b
Compare
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"), |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
80e37e1
to
ce5b55f
Compare
ce5b55f
to
72de88e
Compare
I started a conversation on Zulip to see how people feel about this. |
No description provided.