On 3/13/13 9:16 AM, Niko Matsakis wrote:
One simple improvement would be having the compiler issue an error if
you either:
1. Combine a cross-platform ABI with any single-platform ABIs
2. Specify multiple single-platform ABIs that apply to the same platform.
That's very easy.
Oh, and two function types are only compatible if the ABI set is identical.
I guess it would be possible to use subtyping here so that e.g. `extern
"aapcs cdecl" fn` is a subtype of `extern "cdecl" fn`, but that sounds
like overkill.
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev