<re_irc>
<@lambdafriend:matrix.org> I'm looking to display dynamic strings on an SSD1306 using embedded_graphics. Looks like "format!" needs the "alloc" crate. Is that the normal way of doing that, or is there some other method?
<re_irc>
<@lambdafriend:matrix.org> +OLED
<re_irc>
<@diondokter:matrix.org> The "write!" macro doesn't require alloc, but you'll need some string type to let it output in
<re_irc>
<@diondokter:matrix.org> The ArrayString of "arrayvec" or the string variant in "heapless" should both work AFAIK
<re_irc>
<@lambdafriend:matrix.org> Awesome! Appreciate the assistance.
emerent_ has joined #rust-embedded
emerent is now known as Guest1389
emerent_ is now known as emerent
Guest1389 has quit [Killed (platinum.libera.chat (Nickname regained by services))]
IlPalazzo-ojiisa has joined #rust-embedded
<re_irc>
<@ilpalazzo-ojiisan:matrix.org> For architectures with no SIMD, are there any differences between "opt-level = "s"" and "opt-level = "z""?
<re_irc>
<@dirbaio:matrix.org> different optimizer heuristics
<re_irc>
<@dirbaio:matrix.org> "z" tends to inline much less
<re_irc>
<@dirbaio:matrix.org> often leading to bigger binaries, ironically