Skip to content

build: track weechat header inputs - #47

Merged
strk merged 1 commit into
poljar:mainfrom
Komzpa:komzpa/track-weechat-header-inputs
Jun 27, 2026
Merged

build: track weechat header inputs#47
strk merged 1 commit into
poljar:mainfrom
Komzpa:komzpa/track-weechat-header-inputs

Conversation

@Komzpa

@Komzpa Komzpa commented Jun 23, 2026

Copy link
Copy Markdown

Bindgen now tells Cargo which WeeChat headers it read while generating weechat-sys bindings.

That means changing WEECHAT_PLUGIN_FILE was already tracked, and now changing the selected header contents is tracked too. Downstream builds should not need make clean just to pick up header changes.

Checked with cargo fmt --check, cargo check -p weechat-sys, and a touch crates/weechat-sys/src/wrapper.h smoke that made Cargo report Dirty weechat-sys.

Fix requested by @strk.

@Komzpa
Komzpa marked this pull request as ready for review June 23, 2026 18:02

@strk strk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Easy to review for someone who knows Rust (not me).
I trust the author of the patch so approving FWIW

@strk
strk merged commit adb96ff into poljar:main Jun 27, 2026
53 of 54 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