You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm using Debian stable (10 buster).
I downloaded the new version 3.0.0 tarball. cargo build --release fails with
Compiling yasna v0.3.2
Compiling rustls v0.19.0
Compiling rcgen v0.8.9
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/ew/.cargo/registry/src/github.com-1ecc6299db9ec823/rcgen-0.8.9/src/lib.rs:738:5
|
738 | matches!(self.is_ca, IsCa::Ca(_)) ||
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/65721
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: could not compile `rcgen`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Maybe this is interesting, maybe not.
Maybe this is due to some Debian versioning what-do-I-know.
The mentioned macro has been stabilized in Rust version 1.42.0, so that seems to be the minimal version to compile rcgen. I have not checked what minimum Rust version the other dependencies have so that might still not work.
The solution would be to update your Rust compiler and tooling to the latest version. Since Rust is not packaged on Debian AFAIK you cannot update it with apt. Instead you probably used rustup and you should be able to update with the command rustup update.
Hello,
I'm using Debian stable (10 buster).
I downloaded the new version 3.0.0 tarball.
cargo build --release
fails withMaybe this is interesting, maybe not.
Maybe this is due to some Debian versioning what-do-I-know.
Cheers,
erwaelde
The text was updated successfully, but these errors were encountered: