Skip to content

fix(build): declare raw-window-handle for macOS - #978

Merged
kirillDevPro merged 1 commit into
mainfrom
fix/macos-raw-window-handle
Oct 14, 2026
Merged

kirillDevPro merged 1 commit into
mainfrom
fix/macos-raw-window-handle

Conversation

@kirillDevPro

Copy link
Copy Markdown
Collaborator

What & why

The v0.59.0 release run failed on both macOS slices: panels/chart/shot/mac.rs (from #977) uses raw_window_handle, which moon-ui-gpui declared only under cfg(windows) -> E0433 cannot find module or crate raw_window_handle. This declares it in the macOS dependency block as well. Cargo.lock is unchanged (0.6.2 already locked).

How to verify

cargo fetch --locked ok, cargo check -p moon-ui-gpui ok on Windows; the macOS probe on this PR must compile.

The macOS chart shot (panels/chart/shot/mac.rs) reads the window's
AppKit view through raw_window_handle, but the crate was declared only
for Windows, so both macOS release slices failed with E0433. Declare
it in the macOS block too; the lock already carries 0.6.2.
@kirillDevPro
kirillDevPro merged commit c6b0384 into main Oct 14, 2026
9 of 10 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.

1 participant