Closed solarretrace closed 1 month ago
I'm not seeing anything in those errors that would suggest this is an issue with serde, so I don't think I can help you debug whatever is going on. I would recommend trying any of the resources listed in https://www.rust-lang.org/community.
One of my older crates started to fail to compile when updating serde.
MacOS version 11.7.10 rustc 1.77.0 (aedd173a2 2024-03-17)
This only recreates when I build with
debug = false
in the build profile (--release mode,) AND if I'm building serde for a package within a workspace.I occasionally get the following error instead, though I don't yet know what exactly causes the different error message. It seems to have something to do with setting debug = true in the release profile and debug = false in the dev profile.
Workaround right now is to use debug = true always (though I'd rather have it off if I'm not using it.)