Closed gui2maraes closed 2 years ago
It seems like the only reason const_fn
was removed as a feature flag is because it's now in stable. So just removing the line #![feature(const_fn)]
will probably work.
I only actually found one use of const fn
in the code anyway, here: https://github.com/avr-rust/ruduino/blob/e6ebb190376a5fb6eb5062a65008bfa8fc982ab8/src/register.rs#L159
When trying to compile an example program, I get this error from the ruduino crate:
I get another error from LLVM "Not supported instr", but I don't think they're related.