pop-os / keyboard-configurator

Keyboard configuration UI
GNU General Public License v3.0
261 stars 45 forks source link

v1.3.9 source code not compiling on Debian 12 #216

Closed leukimi closed 12 months ago

leukimi commented 12 months ago

Maybe it should be pointed out (in release notes and on build instructions) for users who build from rust source that the v1.3.9 release requires minimum rustc version 1.64. Check with:

rustc --version

Debian 12 uses rustc version 1.63 and therefore does not compile rust source code. For Debian 12, the user has to use the appimage version.

Ubuntu 22.04 uses rustc version 1.66.

v1.3.9 also compiles on Linux Mint 21.2 .

crawfxrd commented 12 months ago

If you want to use the Debian packages, you can checkout 1.3.7 which is before the gtk-rs update to 0.17. But better for building from source is to use rustup managed toolchains.

We can set rust-version to indicate the MSRV.

crawfxrd commented 12 months ago

MSRV is now set to 1.64. You will receive an error that your compiler is too old.

Additional info: