Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Updating compiler version (minor update) broke existing code

Could you elaborate on that? That's not something that's supposed to happen and if it has, I would like to make sure we register it in our issue tracker.



I don't really remember, its approaching 3 years now, but the target was msp430-none-elf, and some function I had to implement had its signature change? abort! i guess? I don't think it was accidental or unknown, I think i found some conversation on a mailing list when I went to look for it.


Panic changed quite a bit in no_std around 2018 [0], perhaps that's what you're remembering? You could only see that issue on nightly though, and at that point no_std / embedded rust was very much a work in progress that was limited to nightly no matter what random people were saying.

[0] https://users.rust-lang.org/t/psa-breaking-change-panic-fmt-...


I think this was the issue, but it wasn’t 2018 when it I ran into it (looking at some notes it seems like 2020, not 2021). Perhaps it was slow to propagate to the tier 3 supported toolchain I was using? Somehow I got an old version? Idk, it was something I spent a few hours on years ago. I was on nightly, I had to be for msp430 iirc.


Wow, you really are vigilant and omnipresent. Thank you for the DX!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: