[GH-ISSUE #17] Issue building on Pop-OS #16

Closed
opened 2026-02-28 14:29:59 +03:00 by kerem · 2 comments
Owner

Originally created by @kd2flz on GitHub (Jan 9, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/17

Hi, I'm on Pop-OS 20.04, and I get the following error when I try to build the program using cargo build --release

error[E0658]: `match` is not allowed in a `const fn`

Originally I got an open-ssl error, which I got around by installing openssl-dev, but I'm not sure how to get around this one.

While I'm thinking of it, I know this is super early days for this project, but it would be awesome to release the app as a Flatpak. I love the idea, and think it will get heavy use once it is stable.

Originally created by @kd2flz on GitHub (Jan 9, 2021). Original GitHub issue: https://github.com/jpochyla/psst/issues/17 Hi, I'm on Pop-OS 20.04, and I get the following error when I try to build the program using ```cargo build --release``` ``` error[E0658]: `match` is not allowed in a `const fn` ``` Originally I got an open-ssl error, which I got around by installing openssl-dev, but I'm not sure how to get around this one. While I'm thinking of it, I know this is super early days for this project, but it would be awesome to release the app as a Flatpak. I love the idea, and think it will get heavy use once it is stable.
kerem closed this issue 2026-02-28 14:29:59 +03:00
Author
Owner

@jpochyla commented on GitHub (Jan 10, 2021):

Hi! Latest stable version of Rust is needed (match is allowed in const fn since Rust 1.46). The easiest way to install would be rustup. Thanks for being interested :)

<!-- gh-comment-id:757456915 --> @jpochyla commented on GitHub (Jan 10, 2021): Hi! Latest stable version of Rust is needed (`match` is allowed in `const fn` since Rust 1.46). The easiest way to install would be `rustup`. Thanks for being interested :)
Author
Owner

@kd2flz commented on GitHub (Jan 10, 2021):

Thanks, I got it to build. It's definitely showing promise! Can't wait until it is feature complete.

<!-- gh-comment-id:757515003 --> @kd2flz commented on GitHub (Jan 10, 2021): Thanks, I got it to build. It's definitely showing promise! Can't wait until it is feature complete.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#16
No description provided.