<Sophie[m]>
In the text embedded crate is there a way to get the bounding box for a text element? The true bounding box when rendering, not the bounding box saying the max size it could e
JanSommer[m] has quit [Quit: Idle timeout reached: 172800s]
cinemaSundays has joined #rust-embedded
MathiasKoch[m] has quit [Quit: Idle timeout reached: 172800s]
mobergmann[m] has quit [Quit: Idle timeout reached: 172800s]
cinemaSundays has quit [Quit: Connection closed for inactivity]
cinemaSundays has joined #rust-embedded
jessebraham[m] has quit [Quit: Idle timeout reached: 172800s]
cinemaSundays has quit [Quit: Connection closed for inactivity]
JomerDev[m] has joined #rust-embedded
<JomerDev[m]>
Err, after cloning a project of mine from github I suddenly get fun errors like `cannot find attribute 'derive' in this scope`, suggesting I import `use core::prelude::rust_2024::derive;`
<JomerDev[m]>
I'm trying to build for a rp2040 and the correct target is installed. Any ideas?
<JamesMunns[m]>
What does rustup show in that folder say?
<JamesMunns[m]>
Jomer Dev did you intend to include those unconditionally in a crate for an MCU?
<JomerDev[m]>
Ah, I added the ts feature and probably forgot to disable it when using the crate
<JamesMunns[m]>
serde_json is also gunna give you a problem
<JomerDev[m]>
Ah, it's probably serde_json, ts-rs is not a default feature anyway
<JamesMunns[m]>
Whenever you see "huge wall of inscrutable errors" like that, it's usually a missing target or accidental stdlib inclusion, but you usually have to scroll up 50k lines of vomit to see it lol
<JomerDev[m]>
Yeah it was. I don't even remember why I added it as dependency. I even saw the weird std import, but since there were a lot of errors with imports from core as well and I didn't find any dependency which had std enabled (or so I thought) I figured it must be something else
<JomerDev[m]>
Thank you James!
cinemaSundays has joined #rust-embedded
cr1901 has quit [Read error: Connection reset by peer]
Vicente[m] has quit [Quit: Idle timeout reached: 172800s]
cr1901 has joined #rust-embedded
cinemaSundays has quit [Quit: Connection closed for inactivity]
JamesSizeland[m] has quit [Quit: Idle timeout reached: 172800s]
M9names[m] has quit [Quit: Idle timeout reached: 172800s]