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
petekubiak[m] has quit [Quit: Idle timeout reached: 172800s]
<RockBoynton[m]> Are there any Rust conferences coming up where there will be talks by embedded folks?
<M9names[m]> isn't that pretty much every rust conference?
<M9names[m]> there aren't many conferences i know of in the immediate future. looks like the next is going to be rust nation UK at the end of feb, they only have most of 1 day of schedule listed, and there's only 2ish talks that might be vaguely embedded
adamgreig[m] has joined #rust-embedded
<adamgreig[m]> huh, you can tell cargo to pass `--print-memory-usage` to `ld` and get a nice per-region breakdown of usage:... (full message at <https://catircservices.org/_irc/v1/media/download/AQ6E7aXxWKBTxQJWmrDX6oPKC9eP7JiS3XWzqyU0NtBtDdLgDy_BbX_UwNqmcNzFVEbeGqYXNY1_LLikIw6RThC_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy9XU1pCYkxHemFrY3VkR21RbXZpbWtPank>)
<adamgreig[m]> by default cargo eats the output but RUSTC_LOG=rustc_codegen_ssa::back::link=info will show it, wonder if there's a neater way
<adamgreig[m]> it seems like "doesn't show linker output" is an open bug from 2016 https://github.com/rust-lang/rust/issues/38206 but https://github.com/rust-lang/rust/pull/119286 looks like it might merge soon and puts linker stderr/stdout out of normal -v
<adamgreig[m]> so maybe within a version or two of rust you can just stick that in your cargo config and get nice memory usage reports
<adamgreig[m]> I think it's a lot clearer than the output of size
rainingmessages has quit [Quit: bye]
rainingmessages has joined #rust-embedded
emerent has quit [Ping timeout: 252 seconds]
emerent has joined #rust-embedded
<JamesMunns[m]> <RockBoynton[m]> "Are there any Rust conferences..." <- Oxidize and RustNL tend to lean more embedded, but as 9names said, most confs have one or two usually these days
<Mathias[m]> Other example: FOSDEM will be like that https://fosdem.org/2025/schedule/track/rust/
thejpster[m] has joined #rust-embedded
<thejpster[m]> Should items be pub(crate) be default?
<thejpster[m]> I was at Oxidize, RustNL, RustConf, EuroRust and Rust Nation. I think they all had some embedded component. Sometimes it wasn’t even from me.
<thejpster[m]> PSA: I am submitting zero conference talks in 2025 and I am attending only two conferences and they are both Oxidize and that’s only because I’m teaching workshops there.
<thejpster[m]> If you want to see embedded content in 2025 then be the change you want to see. I’m tired.
diondokter[m] has joined #rust-embedded
<diondokter[m]> I intend to submit an embedded related talk for RustNL. But of course that might not be accepted, so if anybody has an idea, do submit!
<igiona[m]> <adamgreig[m]> "huh, you can tell cargo to pass..." <- I tried
<igiona[m]> RUSTFLAGS="-C link-arg=--print-memory-usage" RUSTC_LOG=rustc_codegen_ssa::back::link=info cargo build
<igiona[m]> But I still don't see anything... how to you pass --print-memory-usage?
bogdan[m] has joined #rust-embedded
<bogdan[m]> <thejpster[m]> "PSA: I am submitting zero..." <- I think I understand and respect that. But just as a side note, I really enjoyed your SD driver presentation at EuroRust -- the playful, knowledgeable and enthusiastic manner of your presentation reminded me why I (voluntarily) picked working in embedded programming. Thanks for that!
<adamgreig[m]> <igiona[m]> "I tried..." <- that looks ok, i'm doing it in build.rs with `println!("cargo:rustc-link-arg=--print-memory-usage");` but it should be fine in `cargo.toml` with `"-C", "link-arg=--print-memory-usage"` I expect?
<dirbaio[m]> I think Cargo or rustc doesn't show linker output by default? you might have to try -v or similar
<adamgreig[m]> that's the RUSTC_LOG=rustc_codegen_ssa::back::link=info bit
<adamgreig[m]> <adamgreig[m]> "it seems like "doesn't show..." <- `cargo -v` doesn't yet, but hopefully soon
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #rust-embedded