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

need cargo attribute for experimental feature #23

Closed
requaos opened this issue Aug 26, 2024 · 2 comments
Closed

need cargo attribute for experimental feature #23

requaos opened this issue Aug 26, 2024 · 2 comments

Comments

@requaos
Copy link

requaos commented Aug 26, 2024

the inline-const feature is still gated with an attribute flag on stable rustc:

error[E0658]: inline-const is experimental
  --> /nix/store/qmfd7rc3ydzwiijcg7vzfsja7ykjcy60-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/revision-0.9.0/src/implementations/string.rs:55:33
   |
55 | static CHAR_LENGTH: [u8; 256] = const {
   |                                 ^^^^^
   |
   = note: see issue #76001 <https://github.com/rust-lang/rust/issues/76001> for more information
   = help: add `#![feature(inline_const)]` to the crate attributes to enable
@requaos
Copy link
Author

requaos commented Aug 26, 2024

ran into this building surrealdb from tip of main

@requaos
Copy link
Author

requaos commented Aug 28, 2024

Just needed to use rust version >= v1.79 for rust-lang/rust#104087

@requaos requaos closed this as completed Aug 28, 2024
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

1 participant