mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

613
comptes actifs

#rustlang

39 messages30 participants0 message aujourd’hui

:ferris_gesture: over on BlueSky the OpenGraph images for crates.io are working now! 🎉

unfortunately I'm not sure why that does not seem to be the case for Mastodon yet... investigation ongoing...

anyway, great success! :)

Rust 1.88.0 stabilizes the #[unsafe(naked)] attribute and the naked_asm! macro which are used to define naked functions. Folkert has worked on this feature and wrote an article on the Rust Blog to explain:

blog.rust-lang.org/2025/07/03/

Awesome work, Folkert!

@folkertdev
@rust-lang.org‬

blog.rust-lang.orgStabilizing naked functions | Rust BlogEmpowering everyone to build reliable and efficient software.

According to the last Rust Foundation newsletter @MarcoIeni has managed to bring down the Rust ecosystem's CI costs from $1M to practically nothing and, inexplicably, this is not being shouted about from the rooftops but is disseminated solely via being buried in a newsletter. :blobcatshrug2:

> In Q1 [...] the monetary cost of running CI has been reduced from $1M to $300K.
>
> In Q2, Marco found even more savings, [which meant that the spend on] CI has been greatly reduced–possibly to zero!

Update: check the replies for more details

Warning: venting.

Just tried to make a small PR to crates.io today (to add a full page for triggering documentation rebuild on a crate version). I rediscovered emberjs framework. And now I remember why I hate JS framework so much: you have routes (makes sense), then components (still ok), then controllers (?), adapters (??), initializers (???), serializers (?????) and helpers (kinda ok). WTF. I just want to add a small page with 10 lines of HTML, why is it so complicated? Doing the equivalent on any non-JS website would have taken me less than 10 minutes. In two hours, I was only able to get more and more cryptic errors.

This is it, I just can't deal with JS frameworks, it's just too much work to do something that should be simple. I don't want to learn each JS framework approach on how to make the world slower, more cryptic and definitely way bigger than it should be.

Going back into my cave where JS is only used to improve pages display, not to render the whole world.

If anyone is interested, it's all yours: github.com/rust-lang/crates.io (and it would be very appreciated!).

Instead of just having a button, what about making this button go to a new page which would contain a kind of information summary with the following information: Crate name Version which would be r...
GitHubInstead of a button, could we have a page for triggering documentation rebuild? · rust-lang crates.io · Discussion #11499Instead of just having a button, what about making this button go to a new page which would contain a kind of information summary with the following information: Crate name Version which would be r...

More docs.rs work:

I added a new section about how you can trigger rebuild for your crate documentation and added a link to the queue on the build page in case it failed: github.com/rust-lang/docs.rs/p

It's now possible to access all about pages directly from any docs.rs page because I moved all the links in the header dropdown menu: github.com/rust-lang/docs.rs/p

Enjoy!

Adding extra information at the end of the about builds page:

Also added a link to crates.io on failed builds:
GitHubAdd new rebuild section in about pages by GuillaumeGomez · Pull Request #2856 · rust-lang/docs.rsPar GuillaumeGomez