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
jiande20201 has joined #rust-embedded
jiande2020 has quit [Ping timeout: 264 seconds]
jiande20201 is now known as jiande2020
<corecode[m]> unfortunately the talk is more of an overview and not details on best practices on making formal tests
thompson[m]1 has joined #rust-embedded
<thompson[m]1> Hello everyone I'm a Grower and supplier of cannabis and psychedelics products such as;... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/kobpwFJJKPmpMcylPlzchEFY>)
thompson[m]1 has left #rust-embedded [#rust-embedded]
Vicente[m] has joined #rust-embedded
<Vicente[m]> <thompson[m]1> "Hello everyone I'm a Grower..." <- > <@thompson_1:matrix.org> Hello everyone I'm a Grower and supplier of cannabis and psychedelics products such as;... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/djYmKxdhQVRjFinNGgpAwXhX>)
<Vicente[m]> * I had enough drug with Olympics opening
takkaryx[m] has joined #rust-embedded
<takkaryx[m]> did you understand it with that? because I certainly didn't without any
<Vicente[m]> takkaryx[m]: hehe
<Vicente[m]> They must being killing some children these nights
<JamesMunns[m]> Reminder to ping a mod and don't interact with spammers please :)
<takkaryx[m]> I should learn how to ping mods....
<robtsuk[m]> Well, I couldn't leave it alone so I ended up with... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/yJNbzirKmakMIJQMFYvGmBon>)
Sophie[m] has quit [Quit: Idle timeout reached: 172800s]
ello has quit [Ping timeout: 252 seconds]
cinemaSundays has joined #rust-embedded
jxsl has joined #rust-embedded
danielb[m] has quit [Quit: Idle timeout reached: 172800s]
crabbedhaloablut has quit []
crabbedhaloablut has joined #rust-embedded
crabbedhaloablut has quit []
crabbedhaloablut has joined #rust-embedded
cinemaSundays has quit [Quit: Connection closed for inactivity]
JamesSizeland[m] has joined #rust-embedded
<JamesSizeland[m]> <9names> "> <@jsizeland:matrix.org> Anyone..." <- Ok just to close this out, it was because I had cargo-espflash installed but not espflash !
andar1an[m] has joined #rust-embedded
<andar1an[m]> Im finding it challenging finding job postings on various platforms to work with Embedded Rust.
<andar1an[m]> Does anyone know of a list of companies one may search career pages for?
<andar1an[m]> I'm a mechanical and software engineer who has worked with well know companies in both industries, just looking to be able to throw hat in ring for any kind of risc-v rust work.
adamhott[m] has joined #rust-embedded
<adamhott[m]> Hey all, I have a WIP for that proposal for the robot I mentioned, if anyone cares to take a look. https://github.com/adamhott/rust-spot-wg-proposal
<andar1an[m]> That is cool. Have you considered including a detailed drawing package constrained with GD&T? That is highly valuable learning also and could be very complementary
<adamhott[m]> I'm not sure what that is?
<andar1an[m]> 1 moment
<andar1an[m]> Last I saw that spec was ASME Y14 5
<adamhott[m]> This could be possible, I'm not sure something like that would be absolutely necessary for the proposal
<andar1an[m]> My mistake, I thought your book was to cover physical design process also. I may have misread
<andar1an[m]> Wither way, if you didn't know about it, it is very cool and very effective
<adamhott[m]> I think it's great, I'm going to read up on it!
<andar1an[m]> Maybe it would nice to site GD&T for learning when mentioning quick concepts? Without needing to dive in
<adamhott[m]> I'll check it out!
jistr has quit [Remote host closed the connection]
mobergmann[m] has joined #rust-embedded
<mobergmann[m]> Hi, I have a short rust related question. I need to access the discriminant of an enum (so I can send the data in an array via the i2c interface). How would I go about this? [`std::mem::discriminant`](https://doc.rust-lang.org/std/mem/fn.discriminant.html) is no option as it is in std.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/OzGdHZsWltSxPqxKbkmtgHaM>)
<mobergmann[m]> *
<JamesMunns[m]> You can add #[repr(u8)] to your enum
jistr has joined #rust-embedded
<ryan-summers[m]> Also check out [`num_enum`](https://docs.rs/num_enum/latest/num_enum/)
<JamesMunns[m]> and btw, there's also core::mem::discriminant, but this isn't what you want: https://doc.rust-lang.org/core/mem/fn.discriminant.html
<mobergmann[m]> 🫶 Its working, many thanks to you!
jxsl has quit [Ping timeout: 252 seconds]
<dirbaio[m]> are these linker warnings something I should worry about?... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/YRShTWbDqhNhloiUZqWEWgnx>)
<dirbaio[m]> broken dwarf :P
JomerDev[m] has quit [Quit: Idle timeout reached: 172800s]
JomerDev[m] has joined #rust-embedded
<JomerDev[m]> What, did his beard get cut off? 😁
jxsl has joined #rust-embedded
jxsl has quit [Ping timeout: 252 seconds]
d3zd3z[m] has joined #rust-embedded
<d3zd3z[m]> Interesting thing running into on Zephyr. Rust does allow #[repr(align(n))] on declarations. However, the n has to be an integer literal. In Zephyr, these are defined by arch-specific includes, which, in my case bindgen makes into a const. Any things on a good way to handle this?
<d3zd3z[m]> Is there any way of making this general, short of making my own procedural macro for the repr.
<JamesMunns[m]> There was a somewhat cursed align generic crate
<JamesMunns[m]> Not sure if that solves it, but maybe?
ello has joined #rust-embedded
ello has quit [Client Quit]
ello has joined #rust-embedded