pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
476 stars 85 forks source link

Can't build on Arch Linux(leaking restricted types) #532

Closed jrapf32 closed 3 months ago

jrapf32 commented 4 months ago

When rust builds libcosmic for cosmic-comp it complains about leaking restricted types in pub(crate) horizontal_direction: Direction, pub(crate) vertical_direction: Direction, pub(crate) menu_states: Vec<MenuState>,
line 34 - 36 libcosmic/src/widget/menu/menu_inner.rs. "rustc 1.72.1"

dkharlan commented 3 months ago

I'm seeing this on Pop 22.04 as well when trying to build 697ec9e, also with Rust 1.72.1.

(edit) Ah this looks like a dupe of https://github.com/pop-os/cosmic-comp/issues/543

jrapf32 commented 3 months ago

I'm seeing this on Pop 22.04 as well when trying to build 697ec9e, also with Rust 1.72.1.

(edit) Ah this looks like a dupe of #543

543 is a dupe of this.

jrapf32 commented 3 months ago

This issue has been fixed by recent commits.