juliand[m] has quit [Quit: Idle timeout reached: 172800s]
Koen[m] has quit [Quit: Idle timeout reached: 172800s]
RyanSlawson[m] has quit [Quit: Idle timeout reached: 172800s]
ragarnoy[m] has quit [Quit: Idle timeout reached: 172800s]
dngrs[m] has quit [Quit: Idle timeout reached: 172800s]
JamesMunns[m] has quit [Quit: Idle timeout reached: 172800s]
RockBoynton[m] has joined #rust-embedded
<RockBoynton[m]>
I have had to be stuck on an older rust release (1.78) for a while, but was finally able to upgrade to 1.83. What are some niceties added that I can now add to my firmware code with? For sure two I know of are error_in_core so I can use thiserror, and expecting lints.
i509vcb[m] has quit [Quit: Idle timeout reached: 172800s]
scorpion2185[m]1 has joined #rust-embedded
<scorpion2185[m]1>
is there a nice way to have a main menu where each entry open some state that can be another menu?
flx has joined #rust-embedded
<igiona[m]>
s/now/no/, s///, s///
Mathias[m] has joined #rust-embedded
<Mathias[m]>
<igiona[m]> "> <@shakencodes:matrix.org> Is..." <- I have spoken to Steve Klabnik on the same topic. Many Embedded Rust projects use tooling in addition to Cargo: Makefile, xtask, etc. So there are opportunities for enhancements in... (full message at
<igiona[m]>
My point is: if Cargo is missing features, it would be best to enhance it rather than using bazel to solve them.
<igiona[m]>
I would prefer the investment of companies going in that direction rather than finding a workaround to it
<igiona[m]>
But yeah, the concerns you have listed can be real for certain companies, especially in regulated environments.
<igiona[m]>
We use Yocto to integrate rust applications, so the cross compilation part of it is "solved" by Yocto itselfs (or by the Yocto nativeSDK)
<igiona[m]>
<dirbaio[m]> "bazel/buck do sandboxing?" <- As far as I remember, in Bazel everything is like running in a chrooted environment where only what's specified comes in and out.
<dirbaio[m]>
yeah but that's for reproducibility. it's not a security boundary to prevent you getting pwned by malicious arbitrary code
<igiona[m]>
And then it learns the dependency tree from there
<igiona[m]>
Mmmm true, but I guess it kind of reduces the scope of what a malicious code can access.
<igiona[m]>
In build.rs you can access every part of the FS I guess? Provided you have permissions to do so of course
cinemaSundays has joined #rust-embedded
Kaspar[m] has quit [Quit: Idle timeout reached: 172800s]
dne has quit [Remote host closed the connection]
dne has joined #rust-embedded
cinemaSundays has quit [Quit: Connection closed for inactivity]