about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCensoredUsername <cens.username@gmail.com>2016-08-27 19:45:15 +0200
committerCensoredUsername <cens.username@gmail.com>2016-08-30 16:03:06 +0200
commiteef4434bf8ebcf2f9377166ff069656a1708586d (patch)
tree55585dcca54d03ffd5fa5561721a0bda5b1055ba /src
parent0e58a5d139772404ab936b6c7679e9ff936101c4 (diff)
downloadrust-eef4434bf8ebcf2f9377166ff069656a1708586d.tar.gz
rust-eef4434bf8ebcf2f9377166ff069656a1708586d.zip
Add the sysv64 calling convention to the list of known calling conventions and add the feature(abi_sysv64) to the list of known features
Diffstat (limited to 'src')
-rw-r--r--src/doc/reference.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index be3559a5880..ec2d3e2822e 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -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))`
@@ -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