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
Thanks! It looks like cbindgen currently disallows using any newer version of serde_derive than one from 9 months ago (which was before crate visibility was supported) because their Cargo.toml contains:
serde_derive = "=1.0.21"
I am closing this issue because this is something you would need to sort out with the cbindgen folks. If there is anything Serde can do to unblock cbindgen in using our new releases then we can follow up about that.
Which causes compilations errors like
error: proc-macro derive panicked
--> src/main.rs:9:30
|
9 | #[derive(Debug, Clone, Copy, Serialize)]
| ^^^^^^^^^
|
= help: message: called `Result::unwrap()` on an `Err` value: "failed to parse derive input: \"#[repr(C)]\\npub struct Matrix4f32 {\\n crate data: [f32; 16],\\n}\""
Overview:
As summarized by @dtolnay:
Which causes compilations errors like
Issue details are in Serde #1357
Link to repository that reproduces problem.
The text was updated successfully, but these errors were encountered: