diff options
Diffstat (limited to 'src/doc/unstable-book/src/language-features/abi-thiscall.md')
-rw-r--r-- | src/doc/unstable-book/src/language-features/abi-thiscall.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/language-features/abi-thiscall.md b/src/doc/unstable-book/src/language-features/abi-thiscall.md new file mode 100644 index 000000000..73bc6eacf --- /dev/null +++ b/src/doc/unstable-book/src/language-features/abi-thiscall.md @@ -0,0 +1,12 @@ +# `abi_thiscall` + +The tracking issue for this feature is: [#42202] + +[#42202]: https://github.com/rust-lang/rust/issues/42202 + +------------------------ + +The MSVC ABI on x86 Windows uses the `thiscall` calling convention for C++ +instance methods by default; it is identical to the usual (C) calling +convention on x86 Windows except that the first parameter of the method, +the `this` pointer, is passed in the ECX register. |