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
Makarov has quit [Quit: Client closed]
<mkj[m]> trying to figure how to wrap a rust crate called from C on no_std. I'd like to have C pass a fixed buffer for the rust function to populate with a struct, so C needs a #define RUSTLIB_STRUCT_SIZE 400 etc to define the buffer. is there a way to generate those struct sizes in a rust crate build process? can't see anything obvious.
pronvis has joined #rust-embedded
pronvis has quit [Client Quit]
<barafael[m]> mkj: maybe take a look at cbindgen
<mkj[m]> I had a bit of a look, but it doesn't seem to do much with opaque structs
<mkj[m]> I think I can probably define some `pub const THING_SIZEOF: usize = core::mem::size_of::<Thing>();` and then objcopy them out of the library. kinda convoluted though
ericseppanen[m] has quit [Quit: Idle timeout reached: 172800s]
Makarov has joined #rust-embedded
<Socke> is there any GPS navigation software for linux (not android)? I found navit but it looks kinda unmaintained... maybe something modern in rust? :)
Makarov has quit [Quit: Client closed]
IlPalazzo-ojiisa has joined #rust-embedded
adamgreig[m] has quit [Quit: Idle timeout reached: 172800s]
Socke has quit [Quit: WeeChat 4.1.2]
thejpster[m] has joined #rust-embedded
<thejpster[m]> but why? Google Maps works on pretty much any platform, and is offered at an unbeatable price. The engineers on my car spent a lot of time and effort on their Tom Tom based navigation system, with an LTE modem to do real-time traffic. And it's just not as good as Google Maps over Car Play.
pronvis has joined #rust-embedded
pronvis has quit [Ping timeout: 268 seconds]
therealprof[m] has joined #rust-embedded
<therealprof[m]> <thejpster[m]> "but why? Google Maps works on..." <- I could give you a dozen reasons why... but I wouldn't want to go more off-topic than we already are.
rom4ik has quit [Quit: Ping timeout (120 seconds)]
rom4ik has joined #rust-embedded
dirbaio[m] has quit [Quit: Idle timeout reached: 172800s]
diondokter[m] has quit [Quit: Idle timeout reached: 172800s]
takkaryx[m] has quit [Quit: Idle timeout reached: 172800s]
Socke has joined #rust-embedded
AlexandervanSaas has quit [Quit: Idle timeout reached: 172800s]
IlPalazzo-ojiisa has quit [Quit: Leaving.]