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

Yeah, this is how it works with no_std.


No? https://godbolt.org/z/jEc36vP3P

As far as I can tell, no_std doesn't change anything with regard to either the usability of panicking operators like integer division, slice indexing, etc. (they're still usable) nor on whether they panic on invalid input (they still do).




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

Search: