<M9names[m]>
weird. guess you will just have to work out zadig then, no fun.
kenny has quit [Quit: WeeChat 4.5.1]
JamesSizeland[m] has quit [Quit: Idle timeout reached: 172800s]
rainingmessages has quit [Quit: bye]
rainingmessages has joined #rust-embedded
n_vl[m] has quit [Quit: Idle timeout reached: 172800s]
pcs38 has joined #rust-embedded
Foxyloxy has quit [Read error: Connection reset by peer]
pcs38 has quit [Quit: leaving]
pcs38 has joined #rust-embedded
pcs38 has quit [Ping timeout: 252 seconds]
<dirbaio[m]>
<RockBoynton[m]> "well yeah, why is that worse..." <- Crate A and B depend on log-or-defmt. Both have `[features] defmt = ["dep:defmt", "defmt-or-log/defmt"]`. If you enable defmt on crate A, it breaks crate B because it causes defmt-or-log to start using defmt when crate B doesn't "expect" it because *its* defmt feature is not enabled. This problem doesn't happen if you copypaste fmt.rs.
t-moe[m] has joined #rust-embedded
<t-moe[m]>
yeah, defmt-or-log shouldn't exist in the first place. But it made my life easier in practice, because of the FormatOrDebug trait...
<t-moe[m]>
Anyways, I hope we'll get a better solution soon, when defmt can forward to the log backend internally.
<t-moe[m]>
* yeah, defmt-or-log shouldn't be used in public crates. I've created it mainly to avoid copy/pasting fmt.rs and to have a location for the FormatOrDebug trait, for the local crates of my app.
<t-moe[m]>
Anyways, I hope we'll get a better solution soon, when defmt can forward to the log backend internally.
<t-moe[m]>
* yeah, defmt-or-log shouldn't be used in public crates. I've created it mainly to avoid copy/pasting fmt.rs and to have a location for the FormatOrDebug trait, for the local crates of my app. I enable log/defmt at the root (bin) crate and on all dependencies...
<t-moe[m]>
Anyways, I hope we'll get a better solution soon, when defmt can forward to the log backend internally.
<t-moe[m]>
* yeah, defmt-or-log shouldn't be used in public crates. I've created it mainly to avoid copy/pasting fmt.rs and to have a container for the FormatOrDebug trait, for the local crates of my app. I enable log/defmt at the root (bin) crate and on all dependencies...
<t-moe[m]>
Anyways, I hope we'll get a better solution soon, when defmt can forward to the log backend internally.
jason-kairos[m] has quit [Quit: Idle timeout reached: 172800s]
starblue has quit [Ping timeout: 244 seconds]
whitequark[cis] has joined #rust-embedded
<whitequark[cis]>
non-additive features are evil
<thejpster[m]>
Yes, but. Sometimes necessary.
<thejpster[m]>
Like one HAL supporting multiple chips.
<thejpster[m]>
Ideally cargo would understand this as a native concept (I don’t know, “build flags” or something) and give better errors, or just let you build a crate twice.
<realroot[m]1>
how store things in flash with watchful?
<igiona[m]>
Here is were the internal flash is created, you can r/w on it with that object I guess.... I'm sorry though, I don't have the means to test anything... I guess you're on your own ;)
<realroot[m]1>
thanks
danielb[m] has quit [Quit: Idle timeout reached: 172800s]
starblue has quit [Ping timeout: 252 seconds]
cinemaSundays has quit [Quit: Connection closed for inactivity]
That_Crow has joined #rust-embedded
That_Crow has quit [Remote host closed the connection]