ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
jxsl has joined #rust-embedded
<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
bpye has quit [Ping timeout: 264 seconds]
bpye has joined #rust-embedded
danielb[m] has joined #rust-embedded
<danielb[m]> <Sophie[m]> "In the text embedded crate is..." <- AFAIR no, the best you can do is measure the text's height given a width, using https://docs.rs/embedded-text/latest/embedded_text/style/struct.TextBoxStyle.html#method.measure_text_height
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]> hmm, what happens if you do cargo +1.79 build?
<JamesMunns[m]> (you might need to do rustup target add thumbv6m-none-eabi --toolchain 1.79
<JomerDev[m]> Same issue
<JamesMunns[m]> hmmmmmmmm
<JamesMunns[m]> is the repo public?
<JomerDev[m]> I made the last commit from the machine I now have the issue on
<JomerDev[m]> (It was working then)
<JamesMunns[m]> I can repro, the FIRST error is:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/JvdjluZndQeOmKrfOhXRygrt>)
<JamesMunns[m]> one of your deps started activating std
<JamesMunns[m]> it's something from the dmx-messages crate
<JamesMunns[m]> I mean yeah that'd do it
<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]
jxsl has quit [Ping timeout: 248 seconds]