logoalt Hacker News

LoganDark • yesterday at 8:14 AM • 2 replies • view on HN

Huh, that's a thing? I thought there was just `no_std` and then you can simply leave out `extern crate alloc`.


Replies

chiffaa • yesterday at 10:25 AM

Frankly I'm not sure syntactically, didn't have to touch no-std in a bit, so I assume you're right. I do know that no_alloc is a crate tag people use and it's a readable enough way to phrase it

Ygg2 • yesterday at 1:54 PM

It's exactly as you describe. No_alloc is just no_std without using alloc crate.