]> git.lizzy.rs Git - rust.git/commit
auto merge of #10367 : alexcrichton/rust/system-abi, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sat, 9 Nov 2013 20:26:12 +0000 (12:26 -0800)
committerbors <bors@rust-lang.org>
Sat, 9 Nov 2013 20:26:12 +0000 (12:26 -0800)
commit3851f908d16b55dfe69d5a423ecbef4cd224fae2
treed5950e21ccbbe74326dd2b20e674d2976f97e2a3
parent8379890c05b20e97fcc73c1865b8b3787caecc9f
parent2fcc70ec9d2f73b61285283aeb4abce4a4e84901
auto merge of #10367 : alexcrichton/rust/system-abi, r=nikomatsakis

This adds an other ABI option which allows a custom selection over the target
architecture and OS. The only current candidate for this change is that kernel32
on win32 uses stdcall, but on win64 it uses the cdecl calling convention.
Otherwise everywhere else this is defined as using the Cdecl calling convention.

cc #10049
Closes #8774
src/librustc/back/link.rs
src/librustc/driver/driver.rs