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
cbjamo[m] has quit [Quit: Idle timeout reached: 172800s]
<JamesMunns[m]> Speaking of JLinks, on MacOS for some reason the thing the JLink does where it shows up as a USB flash drive is acting weird, so it disconnects and reconnects every 3-5 seconds.
<JamesMunns[m]> BUT, every time it does that, it pops a "device disconnected without ejecting" error in the notification center. I always have do not disturb on, so I didn't notice it. But I've had it plugged in for *hours*, so opening notifications would hang for like 45 seconds before it opened
<JamesMunns[m]> OH YOU CAN TURN OFF THOSE NOTIFICATIONS ENTIRELY NOW
<JamesMunns[m]> sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification -bool YES && sudo pkill diskarbitrationd
<JamesMunns[m]> hell yeah
<JamesMunns[m]> this is relevant for embedded because DFU bootloaders leave these messages all the time
<Darius> switch mode devices are very annoying
<Darius> surprised it doesn't get ejected properly though
cr1901 has quit [Ping timeout: 248 seconds]
Noah[m] has joined #rust-embedded
<Noah[m]> <JamesMunns[m]> "OH YOU CAN TURN OFF THOSE..." <- wait, it actually works now?
<JamesMunns[m]> Seems to! Seemed to need a reboot too
sroemer has quit [Ping timeout: 265 seconds]
sroemer has joined #rust-embedded
sroemer has quit [Changing host]
sroemer has joined #rust-embedded
sroemer has quit [Client Quit]
tiwalun[m] has joined #rust-embedded
<tiwalun[m]> You can also disable the mass storage part of the link using the official tools, see https://portal.u-blox.com/s/question/0D52p0000C6g9ErCQI/segger-jlink-ob-how-to-disable-it
sroemer has joined #rust-embedded
cr1901 has joined #rust-embedded
<danielb[m]> <dirbaio[m]> "This is zero cost: `fn foo..." <- home come embassy-sync doesn't use this pattern everywhere (looking at Mutex::lock for example)?
<dirbaio[m]> I meant it only for cases that are "async fn that just calls another async fn"
<danielb[m]> yup, embassy has a bunch of `async fn() { poll_fn().await }
<danielb[m]> * yup, embassy has a bunch of `async fn() { poll_fn().await }`
<danielb[m]> * poll_fn().await }`
<dirbaio[m]> ah then those could be changed, yes
<danielb[m]> can rustdoc re-sugar them into async fns?
<dirbaio[m]> no :(
<danielb[m]> :/
<JamesMunns[m]> could do cfg doc trickery? that's sad though :p
<JamesMunns[m]> (I don't think this is actually a good idea)