It is structurally possible yes; libraries are generally composed of multiple compilation units. What you would need to do is to construct the .o files from your C, and then get cargo to add them to the linking for your rust crate. I think that'd be the easiest approach.
On August 5th 2022 all ten episodes of The Sandman will drop on Netflix. You are not expected to watch all ten episodes on August 5th. There will not be a test.
currently for me, it's about having good examples and docs easy to find. I'd love to replace my pile of ansibled debian systems with nixos but centralised management of multiple systems isn't well documented. At least not that I've found for myself.
Daniel Silverstone ๐๐๐๐ยฒ ๐ณ๏ธโ๐๐ฌ๐ง retweeted
Strange request: does anyone have a trebuchet that is within moving-to-Manchester-ish distance for next weekend (Friday 22 July). I'd say it's for a ridiculous project but I feel that is already heavily implied. Launch your suggestions towards matt@standupmaths.com
The most important lesson I've learned in the last year:
Burnout isn't just the result of too much work. It's the TYPE of work. And, more specifically, your emotional connection to it.
Burnout comes from feeling like no matter how much you do, it will never be enough.
83
5,525
590
24,169
Daniel Silverstone ๐๐๐๐ยฒ ๐ณ๏ธโ๐๐ฌ๐ง retweeted
We just released rustup 1.25.1, fixing a regression introduced in yesterday's release. Check out the details on our blog: blog.rust-lang.org/2022/07/1โฆ
So, rustup 1.25.1 is out tonight, big thanks to @pietroalbini who stayed up with me to get it done. We've reverted one of our optimisations as it seems to be causing troubles for people; in the official blog post we're asking for input on how to fix.
blog.rust-lang.org/2022/07/1โฆ