You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Platform-specific function ABIs are not validated #81396
This code builds (and runs) fine on stable Rust when targeting x86_64-unknown-linux-gnu:
extern"aapcs"fnf(){}fnmain(){f();}
Other nonsensical ABIs are also accepted, including win64, avr-interrupt (with feature gate). I expected all of these to result in a compilation error, since they are unsupported on x86_64-unknown-linux-gnu.
Activity
nagisa commentedon Jun 12, 2021
Duplicate of #57182