Commit b99e9fd
fix: enable rio-window platform features in sugarloaf dev-deps
The workspace declares rio-window with `default-features = false`,
so sugarloaf's dev-dep inherited no platform features and
rio-window's `platform_impl/mod.rs` triggered its
"platform not supported by winit" `compile_error!` whenever
`cargo test -p sugarloaf` pulled it in on Linux. rioterm avoids
this by re-enabling x11/wayland through its own feature flags;
sugarloaf had no equivalent, blocking `cargo test -p sugarloaf`
and any sugarloaf examples that import `rio_window::...`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
(cherry picked from commit 38e73b0)1 parent 330ed70 commit b99e9fd
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
125 | 131 | | |
126 | 132 | | |
127 | 133 | | |
| |||
0 commit comments