Skip to content

feat(freebsd): select inotify on 14.5+ - #989

Merged
JohnTitor merged 1 commit into
notify-rs:mainfrom
kev009:freebsd-inotify-14.5
Aug 20, 2026
Merged

feat(freebsd): select inotify on 14.5+#989
JohnTitor merged 1 commit into
notify-rs:mainfrom
kev009:freebsd-inotify-14.5

Conversation

@kev009

@kev009 kev009 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Description

Follow-up to #972: native inotify ships in FreeBSD 14.5 (syscalls and libc wrappers) thanks to @markjdb, not only 15.0+.

Autoselect now compares freebsd-version -u as (major, minor) >= (14, 5) so native builds on 14.5+ use inotify and older 14.x stays on kqueue. The freebsd_inotify feature still forces inotify for cross-compiles targeting 14.5+.

CI is unchanged: 14.4 covers kqueue, 15.1 covers inotify as it will be some time before the 14.4 builder ages out and the coverage testing is still useful.

Related Issues

Native inotify ships in FreeBSD 14.5, so auto-select by major.minor
instead of treating only 15.0+ as supported.

@JohnTitor JohnTitor left a comment

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.

Thanks!

@JohnTitor
JohnTitor merged commit 4841524 into notify-rs:main Aug 20, 2026
21 checks passed
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.

2 participants