]> git.lizzy.rs Git - rust.git/blob - src/doc/unstable-book/src/language-features/abi-thiscall.md
Rollup merge of #106904 - khuey:preserve_debuginfo_for_rlibs, r=davidtwco
[rust.git] / src / doc / unstable-book / src / language-features / abi-thiscall.md
1 # `abi_thiscall`
2
3 The tracking issue for this feature is: [#42202]
4
5 [#42202]: https://github.com/rust-lang/rust/issues/42202
6
7 ------------------------
8
9 The MSVC ABI on x86 Windows uses the `thiscall` calling convention for C++
10 instance methods by default; it is identical to the usual (C) calling
11 convention on x86 Windows except that the first parameter of the method,
12 the `this` pointer, is passed in the ECX register.