Rust 1.77 and 1.78: The Changes That Happened to u128/i128 Podcast Por  arte de portada

Rust 1.77 and 1.78: The Changes That Happened to u128/i128

Rust 1.77 and 1.78: The Changes That Happened to u128/i128

Escúchala gratis

Ver detalles del espectáculo

This story was originally published on HackerNoon at: https://hackernoon.com/rust-177-and-178-the-changes-that-happened-to-u128i128.
Rust has long had an inconsistency with C regarding the alignment of 128-bit integers on the x86-32 and x86-64 architectures.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #rust, #rustlang, #rust-changes, #rust-1.77, #rust-1.78, #rust-u128, #rust-update, #rust-incorrect-alignment, and more.

This story was written by: @Rust. Learn more about this writer by checking @Rust's about page, and for more stories, please visit hackernoon.com.

Rust has long had an inconsistency with C regarding the alignment of 128-bit integers. This problem has recently been resolved, but the fix comes with some effects that are worth being aware of. As a user, you most likely do not need to worry about these changes unless you are. Ignoring the `improper_ctypes*` lints and using these types in FFI.

Todavía no hay opiniones