about summary refs log tree commit diff
diff options
context:
space:
mode:
authorubsan <npmazzuca@gmail.com>2016-06-25 11:53:46 -0700
committerubsan <npmazzuca@gmail.com>2016-06-25 11:53:46 -0700
commit1e899fde015c29f53642b6b8e582a8547b6e3b1d (patch)
tree86d7bcc91d2e7f12a490f1958e84060a832f115d
parentdbe6a09a8b8ab8c2c2b422df1e10db8306b1a481 (diff)
downloadrust-1e899fde015c29f53642b6b8e582a8547b6e3b1d.tar.gz
rust-1e899fde015c29f53642b6b8e582a8547b6e3b1d.zip
Add vectorcall and fastcall explanation
-rw-r--r--src/doc/reference.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index d564b19e100..fa6014a3d6c 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -1656,8 +1656,10 @@ There are also some platform-specific ABI strings:
 * `extern "stdcall"` -- The default for the Win32 API on x86\_32.
 * `extern "win64"` -- The default for C code on x86\_64 Windows.
 * `extern "aapcs"` -- The default for ARM.
-* `extern "fastcall"`
-* `extern "vectorcall"`
+* `extern "fastcall"` -- The `fastcall` ABI -- corresponds to MSVC's
+  `__fastcall` and GCC and clang's `__attribute__((fastcall))`
+* `extern "vectorcall"` -- The `vectorcall` ABI -- corresponds to MSVC's
+  `__vectorcall` and clang's `__attribute__((vectorcall))`
 
 Finally, there are some rustc-specific ABI strings: