Skip to content

need cargo attribute for experimental feature #23

@requaos

Description

@requaos

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

Activity

requaos

requaos commented on Aug 26, 2024

@requaos
Author

ran into this building surrealdb from tip of main

requaos

requaos commented on Aug 28, 2024

@requaos
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @requaos

        Issue actions

          need cargo attribute for experimental feature · Issue #23 · surrealdb/revision