Cannot build
velvia opened this issue · 0 comments
velvia commented
Hey Jorge,
Great work. I can't build it though, when I clone and repo and run Maturin develop
I get:
Compiling indoc-impl v0.3.6
Compiling ghost v0.1.2
Compiling tokio-macros v0.2.6
Compiling inventory-impl v0.1.10
Compiling ctor v0.1.20
Compiling pyo3cls v0.12.4
Compiling indoc v0.3.6
Compiling tokio v0.2.25
Compiling futures-util v0.3.14
Compiling thiserror v1.0.24
Compiling flatbuffers v0.8.4
error[E0658]: const generics are unstable======================> ] 204/222: async-trait, packed_s...
--> /Users/evan/.cargo/registry/src/github.com-1ecc6299db9ec823/flatbuffers-0.8.4/src/array.rs:28:35
|
28 | pub struct Array<'a, T: 'a, const N: usize>(&'a [u8], PhantomData<T>);
| ^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
= help: add `#![feature(min_const_generics)]` to the crate attributes to enable
error[E0658]: const generics are unstable======================> ] 204/222: async-trait, packed_s...
--> /Users/evan/.cargo/registry/src/github.com-1ecc6299db9ec823/flatbuffers-0.8.4/src/array.rs:30:23
|
30 | impl<'a, T: 'a, const N: usize> Debug for Array<'a, T, N>
| ^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
= help: add `#![feature(min_const_generics)]` to the crate attributes to enable
error[E0658]: const generics are unstable======================> ] 204/222: async-trait, packed_s...
--> /Users/evan/.cargo/registry/src/github.com-1ecc6299db9ec823/flatbuffers-0.8.4/src/array.rs:40:23
|
40 | impl<'a, T: 'a, const N: usize> Array<'a, T, N> {
| ^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
= help: add `#![feature(min_const_generics)]` to the crate attributes to enable
error[E0658]: const generics are unstable
--> /Users/evan/.cargo/registry/src/github.com-1ecc6299db9ec823/flatbuffers-0.8.4/src/array.rs:57:36
|
57 | impl<'a, T: Follow<'a> + 'a, const N: usize> Array<'a, T, N> {
| ^
|
= note: see issue #74878 <https://github.com/rust-lang/rust/issues/74878> for more information
= help: add `#![feature(min_const_generics)]` to the crate attributes to enable
It seems maybe this has to do with using an older nightly. Maybe try a newer one?
(NOTE: I tried a newer one but then ran into linker problems. I'm using OSX 10.15.7)