loki_val has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
rektide has quit [Ping timeout: 244 seconds]
rektide has joined #rust-embedded
loki_val has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
starblue has joined #rust-embedded
starblue has quit [Ping timeout: 252 seconds]
loki_val has quit [Write error: Connection reset by peer]
crabbedhaloablut has joined #rust-embedded
<re_irc>
<ub|k> has anyone managed to use "once_cell" on embedded?
<re_irc>
<ub|k> hm... i'm currently not able to compile lazy_static on embedded... is it due to this regression in atomics for embedded devices in rustc someone mentioned some time ago?
<re_irc>
<ub|k> "error[E0599]: no method named "compare_and_swap"found for struct"AtomicBool" in the current scope"
<re_irc>
<dirbaio> is it rp2040? that's thumbv6m, CAS has never been available there
<re_irc>
<dirbaio> (the regression was something else, it was removing "load"/"store", and it's been reverted)
<re_irc>
<ub|k> dirbaio: indeed. ok, thanks. what do people use on that target then?
<re_irc>
<ub|k> i was convinced I had used lazy_static on the rp2040 before, but I probably mixed up with stm32
<re_irc>
<dirbaio> for atomic CAS you can use "atomic-polyfill"
<re_irc>
<ub|k> ah cool
<re_irc>
<ub|k> or maybe I'll just keep it simple and use an "Option<_>"
<re_irc>
<dirbaio> for LazyCell/OnceCell you'll have to patch, or copypaste them into your crate, to make them use "atomic-polyfill"... :(
<re_irc>
<ub|k> yeah, "Option" it is
explore has joined #rust-embedded
smach has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
dne has quit [Remote host closed the connection]
dne has joined #rust-embedded
starblue has joined #rust-embedded
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Read error: Connection reset by peer]
smach has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Ping timeout: 252 seconds]
smach has joined #rust-embedded
causal has joined #rust-embedded
starblue has quit [Ping timeout: 252 seconds]
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Remote host closed the connection]
smach has joined #rust-embedded
smach has quit [Quit: Leaving]
dequbed has quit [Ping timeout: 244 seconds]
dequbed has joined #rust-embedded
dequbed has quit [Client Quit]
dequbed has joined #rust-embedded
starblue has joined #rust-embedded
dc740 has joined #rust-embedded
dc740 has quit [Remote host closed the connection]