glitchy has quit [Remote host closed the connection]
glitchy has joined #rust-embedded
_whitelogger has joined #rust-embedded
Tidur has quit [Ping timeout: 256 seconds]
Tidur has joined #rust-embedded
sroemer has joined #rust-embedded
AdamHorden has quit [Ping timeout: 244 seconds]
Tidur has quit [Ping timeout: 245 seconds]
<JamesMunns[m]>
For the WG members here, we've been asked for feedback from the `build-std` team about their current RFC: https://github.com/rust-embedded/wg/discussions/863#discussioncomment-14139904. Since it's a decently long document, I'm sharing it here before the meeting if you have a chance to read it before.
<JamesMunns[m]>
In particular, I'm gunna tag @mabez, @thejpster, @dirbaio, @Amit, and @Kaspar, since you all might have unique views on build-std (if not, no worries, that's just like my opinion :D)
<JamesMunns[m]>
(for clarity, that's an attempt to ping the esp32, ferrocene, embassy, tock-os, and ariel ecosystems, who might have different views on build-std)
<JamesMunns[m]>
I've also pinged the oxide folks out of band (they don't hang here much), and if there are other communities I missed, please do ping them too.
<JamesMunns[m]>
To note, we've been asked to filter/limit feedback through the WG at the moment, so please comment on the discussion rather than the RFC if you are not wg members, but please do gather any opinions so we can curate + forward on. There is and will be lots of feedback, so let's not overwhelm the build-std folks who are doing us a solid here getting this work pushed through :)
<JamesMunns[m]>
Ah probably good measure to ping @korken89 for RTIC folks as well :)
<diondokter[m]>
optimize-for-size and panic-immediate-abort aren't part of this effort it seems (though they won't get blocked either)
<diondokter[m]>
Does panic-immediate-abort do more than just setting panic=abort? Because it seems that's getting in as part of the compilation profile (same as the rest of the code you compile)
chrysn[m] has joined #rust-embedded
<chrysn[m]>
Yeah, seems those we need are out of scope. Not necessarily bad; as the authors say, that'll make adding those in later easier b/c that'll work w/o being held up in the whole issue -- just makes reading all that for no immediately tangible benefit a bit harder to push through.
<diondokter[m]>
chrysn[m]: Once stable, you'll still be able to compile core/alloc with opt-level s or z, which is still a win
<diondokter[m]>
I don't think I've ever used a tier 3 target, but it's nice for non/barely supported platforms too
<Kaspar[m]>
Ariel is building for a dozen rustc targets from a single workspace, only a subset of the builds for a subset of the targets need build-std. So the cargo configuration is not the right place to put this IMO. *probably* this can still be enabled via `CARGO_TARGET_<triple>_BUILD_STD=foo`, or `cargo --config target.<triple>.build-std=foo`, but then includes the redundant and awkward triple info.
<Kaspar[m]>
IMO for embedded, the cargo configuration is too static.
<Kaspar[m]>
Ariel is building for a dozen rustc targets from a single workspace, only a subset of the builds for a subset of the targets need build-std. So the cargo configuration is not the right place to put this IMO. _probably_ this can still be enabled via `CARGO_TARGET_<triple>_BUILD_STD=foo`, or `cargo --config target.<triple>.build-std=foo`, but then includes the redundant and awkward triple info.
<JamesMunns[m]>
(please do capture this feedback in the discussion, so we don't lose it in chat history)
rainingmessages has quit [Quit: bye]
rainingmessages has joined #rust-embedded
AdamHorden has joined #rust-embedded
Tidur has joined #rust-embedded
Tidur has quit [Ping timeout: 244 seconds]
sroemer has quit [Quit: WeeChat 4.5.2]
Noah[m]1 has joined #rust-embedded
<Noah[m]1>
Can anyone here tell me where I best poll egress in smoltcp? do I just periodically do that? or when I get a packet? or when the phy sent the last packet?
<chrysn[m]>
Playing around with trouble, is there any existing example of a peripheral taking both the GATT server and client role? I've found so far that I can indeed clone the Connection and thus build both a server and a GattClient, but so far characteristic_by_uuid does not terminate (the again I'm not 100% sure that the characteristic is successfully published at the central, so still in deep debugging).