I've this recurring error popping up and I've no idea how to fix it. I repaired visual studio community installation, removed and reinstalled rustup, switched toolchains and targets (msvc to gnu and back) ... no luck.
The error pops up with different values both when building and in vscode when saving files (as it triggers rust-analyzer parsing). When writing code I just save again and it goes away, but when it comes to build complex projects there's no way for them to run from beginning to the end. And in any case... it's silly to keep it like this.
?? Are you sure weren't expecting a value of 2350837905160? That is a very large number of bytes. 8 bytes (63 bits if signed) can hold a value of 9223372036854775807.
To work with that many bytes you'll have to work in a string, not a numeric type.
Ain't a code issue. It's something terribly wrong in the toolchain or the underlying OS (btw: windows11, visual studio community 2022) or even the hardware (intel 14900K, but it isn't a flawed cpu; I repeated the burn-in test yesterday, then checked the ram).
Dude, you are trying to interpret the numerical value of ... go figure what corruption result ... the number you are pointing at isn't important! Probably it's a random number because of some nasty compiler corruption!
Not without more details, nope. Where are you seeing this error? What's the line/column/context? In any way similar to this? Including the error[E0080]: evaluation of constant value failed?
I can't reproduce the same error for an rp2040 bin as well as I'm in the middle of re-installing but ... the target doesn't matter... it pops out for an x86 and an arm target, in terminal as well as in vscode's rust-analyzer output... and it goes away retrying without changing anything in code. It's a toolchain issue.
The numerical values in the error are not important, they change every time.