You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ cargo check
error[E0437]: type`Scalar` is not a member of trait `flatbuffers::EndianScalar`
--> src/./monster_generated.rs:112:3
|
112 |type Scalar = i8;| ^^^^^^^^^^^^^^^^^ not a member of trait `flatbuffers::EndianScalar`
The text was updated successfully, but these errors were encountered:
hxzhao527
changed the title
the generated rust code can't compile( rustc 1.64.0; flatc 22.9.29; 5.15.71-1-MANJARO)
the generated rust code can't compile(rustc 1.64.0; flatc 22.9.29; 5.15.71-1-MANJARO)
Oct 8, 2022
This will be because I have not published the 22.9.29 version of the Rust crate. I was waiting on #7553 before doing that, but I guess that PR will have to wait. In the mean time, the previous flatbuffer release will be compatible with the current rust code on crates.io
Just follow the Tutorial.
flatc
to generateCargo.toml
The text was updated successfully, but these errors were encountered: