Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling error #1073

Closed
daviszhen opened this issue Dec 29, 2021 · 1 comment
Closed

compiling error #1073

daviszhen opened this issue Dec 29, 2021 · 1 comment

Comments

@daviszhen
Copy link

Following the compiling step, I get the error on the main branch:

error[E0658]: use of unstable library feature 'array_map'
--> zenith_utils/src/pq_proto.rs:690:60
|
690 | let iov = &mut [name, b"\0", value, b"\0"].map(IoSlice::new);
| ^^^
|
= note: see issue #75243 rust-lang/rust#75243 for more information

error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile zenith_utils

Caused by:

@SomeoneToIgnore
Copy link
Contributor

Looks like you use rather old rustc to build the project, map is stable since rust 1.55.0, according to the sources:

#[stable(feature = "array_map", since = "1.55.0")]

Currently we guarantee that the project builds with 1.56.1 and implicitly guarantee that it builds with the latest stable, 1.57.0 too.

Unfortunately, I don't think we're able to provide support for older rustc versions right now, so as a solution for this issue, please use rustc 1.56.1 or newer to build the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants