Skip to content

Commit

Permalink
Add the sysv64 calling convention to the list of known calling conven…
Browse files Browse the repository at this point in the history
…tions and add the feature(abi_sysv64) to the list of known features
  • Loading branch information
CensoredUsername committed Aug 30, 2016
1 parent 0e58a5d commit eef4434
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/reference.md
Expand Up @@ -1677,6 +1677,7 @@ There are also some platform-specific ABI strings:
* `extern "cdecl"` -- The default for x86\_32 C code.
* `extern "stdcall"` -- The default for the Win32 API on x86\_32.
* `extern "win64"` -- The default for C code on x86\_64 Windows.
* `extern "sysv64"` -- The default for C code on non-Windows x86\_64.
* `extern "aapcs"` -- The default for ARM.
* `extern "fastcall"` -- The `fastcall` ABI -- corresponds to MSVC's
`__fastcall` and GCC and clang's `__attribute__((fastcall))`
Expand Down Expand Up @@ -2485,6 +2486,9 @@ The currently implemented features of the reference compiler are:

* - `dotdot_in_tuple_patterns` - Allows `..` in tuple (struct) patterns.

* - `abi_sysv64` - Allows the usage of the system V AMD64 calling convention
(e.g. `extern "sysv64" func fn_();`)

If a feature is promoted to a language feature, then all existing programs will
start to receive compilation warnings about `#![feature]` directives which enabled
the new feature (because the directive is no longer necessary). However, if a
Expand Down

0 comments on commit eef4434

Please sign in to comment.