There's always a tracking issue for the thing you need. Always gives conflicting feelings.
Today's instance: https://github.com/rust-lang/rust/issues/115590
There's always a tracking issue for the thing you need. Always gives conflicting feelings.
Today's instance: https://github.com/rust-lang/rust/issues/115590
On the latest nightly you can pass `-Z async-panic=false` which disables all panic generation for async blocks and functions.
This is an unstable flag since the project first wants to see if it's desirable to have.
Looking for feedback!
If you like the idea of it, try it out and share your findings!
If you *don't* like the idea, also try it out! Find the situations you think where this flag is a bad idea and share your findings.
To update, run:
> cargo install device-driver-cli
Then head over to https://marketplace.visualstudio.com/items?itemName=diondokter.device-driver and install the vscode extension
RE: https://fosstodon.org/@tweedegolf/117195919753694275
Yes! Who else will be there?
I'd love to meet up
To be clear, this the panic for "poll after completion" and when appropriate "poll after unwind"
There could be a flag to turn off async Rust panics. It's good for binary size, but not better than panic-immediate-abort already is.
Would you use the flag while not using panic-immediate-abort (assuming both are stable)?
I need to pursue or drop this flag and I want your input to make the decision.
Changelog: https://github.com/diondokter/device-driver/blob/master/CHANGELOG.md#200-21-08-26
If you're migrating a v1 driver to v2, make sure to read the migration guide: https://device-driver.com/book/migration-v2.html
‼️device-driver v2.0 has been released ‼️
It has been a lot of work, but after almost 1.5 years a new major version of the toolkit is out now!
Get it on crates-io: https://crates.io/crates/device-driver
Visit the website: https://device-driver.com/
Join the matrix chat: https://matrix.to/#/#device-driver:matrix.org
Native sealed traits coming!
https://blog.rust-lang.org/inside-rust/2026/08/10/call-for-testing-impl-and-mut-restrictions/
Oooohhh, Rust nightly is already at version 1.99!
Can't wait to see what they've cooked up for Rust 2.00 :D
Exciting times!
V2 docs have been merged!
https://device-driver.com/book/v2/intro.html
Ok, putting it out there so there's a higher chance of me getting it actually done :P
It's my aim to release device-driver v2 this month
I wish it were different. Everybody working on the same network stack has a lot of advantages.
But so the AI bifurcation continues.
Rust constants are slowly but surely getting more powerful!
On stable you can parse constants from environment variables. I remember having to pull in weird crates & macros to be able to do this.
Cool! I can now tell people about DDSL features through Rust error messages. This is pretty neat :)
Very interesting!
https://www.crowdsupply.com/baochip/dabao
Rust-native open hardware (RTL) RISC-V chip.
https://www.youtube.com/watch?v=DaWkfSmIgRs&pp=ygUEeG91cw%3D%3D
RE: https://toot.cat/@zkat/115584770971710617
Coming to the v2 version of device-driver :D
Miette is awesome to build on!