Now that every parameter is passed by reference, our ABI is no longer compatible with C. Passing a struct by value is not the same as passing it by immutable alias in C.

This is a severe problem, and my first instinct is to propose bringing back & for it. We could bring the old meaning of & back just for native calls, but that seems inconsistent.

Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to