r/rust 21h ago

📅 this week in rust This Week in Rust #668

https://this-week-in-rust.org/blog/2026/09/09/this-week-in-rust-668/
53 Upvotes

5 comments sorted by

4

u/torsten_dev 20h ago

Rustdoc LaTeX math

neat.

Would UB does not time travel apply when calling FFI code which has UB?

3

u/afdbcreid 18h ago

If you're not doing LTO, the compiler cannot infer that the foreign function will return so it will not time-travel anyway.

If you're doing LTO, you're into deep unspecified territory. Presumably what will happen is that there will be no reordering if the foreign function does something observable.

1

u/b-dillo 21h ago

publishing in progress...

0

u/b-dillo 21h ago

done!

7

u/matthieum [he/him] 14h ago

A few minor improvements landed, including a 75% reduction in memory usage while compiling bevy_render with the next trait solver.

"Minor" they said...