mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Rollup merge of #114562 - Trolldemorted:thiscall, r=oli-obk
stabilize abi_thiscall Closes https://github.com/rust-lang/rust/issues/42202, stabilizing the use of the "thiscall" ABI. FCP was substituted by a poll, and the poll has been accepted.
This commit is contained in:
commit
3ea1928fb2
1 changed files with 0 additions and 16 deletions
|
@ -928,22 +928,6 @@ $ cat $(find -name '*.s')
|
|||
ret;
|
||||
}
|
||||
```
|
||||
"##,
|
||||
},
|
||||
Lint {
|
||||
label: "abi_thiscall",
|
||||
description: r##"# `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.
|
||||
"##,
|
||||
},
|
||||
Lint {
|
||||
|
|
Loading…
Reference in a new issue