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

Crate requires rust 1.83 to build #7

Open
dankirkham opened this issue Jan 4, 2025 · 1 comment
Open

Crate requires rust 1.83 to build #7

dankirkham opened this issue Jan 4, 2025 · 1 comment

Comments

@dankirkham
Copy link

error[E0658]: mutable references are not allowed in constant functions
 --> crates/<removed>
  |
3 | #[bitfield(u8)]
  | ^^^^^^^^^^^^^^^
  |
  = note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
  = note: this error originates in the attribute macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0658`.

rust-version could be set to avoid the headache.

@gregorygaines
Copy link
Owner

Interesting, I thought the rust-toolchain would mitigate this, thanks!

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