Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #125955

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fc1e52a
Add tracking issue and unstable book page for `"vectorcall"` ABI
beetrees Apr 28, 2024
494cbd8
bootstrap: implement new feature `bootstrap-self-test`
onur-ozkan May 19, 2024
1dcf764
Item bounds can reference self projections and still be object safe
compiler-errors Mar 21, 2024
65dffc1
Change pedantically incorrect OnceCell/OnceLock wording
mqudsi May 24, 2024
a126c11
Reorder the TOC so that targets are put under their meta-group
Lokathor May 28, 2024
f646314
make the fact that arm-none-eabi is a group of targets the first thin…
Lokathor May 28, 2024
144adf6
update armv4t docs
Lokathor May 28, 2024
d8704b9
It's spelled "ARM", in all caps.
Lokathor May 28, 2024
bb1f5c3
delete the offending single space.
Lokathor May 28, 2024
94d4040
The modern styling is apparently to use Title Case for the chip/compa…
Lokathor May 31, 2024
5f0043a
Handle no values cfg with --print=check-cfg
Urgau May 31, 2024
f58bf91
Add missing tracking issue number for --print=check-cfg
Urgau May 31, 2024
b320ac7
Add a regression test for a former blanket impl synthesis ICE
fmease Jun 3, 2024
4576027
Remove stray "this"
tbu- Jun 3, 2024
273b990
Align Term methods with GenericArg methods
compiler-errors May 30, 2024
960aeed
Rollup merge of #122804 - compiler-errors:item-bounds-can-reference-s…
Noratrieb Jun 4, 2024
b70e78f
Rollup merge of #124486 - beetrees:vectorcall-tracking-issue, r=ehuss
Noratrieb Jun 4, 2024
7735809
Rollup merge of #125273 - onur-ozkan:bootstrap-self-test, r=albertlar…
Noratrieb Jun 4, 2024
d65a179
Rollup merge of #125504 - mqudsi:once_nominal, r=cuviper
Noratrieb Jun 4, 2024
f0ddb4b
Rollup merge of #125690 - Lokathor:arm-maintainer-reorg, r=ehuss
Noratrieb Jun 4, 2024
5b9bf8d
Rollup merge of #125750 - compiler-errors:expect, r=lcnr
Noratrieb Jun 4, 2024
7506409
Rollup merge of #125818 - Urgau:print-check-cfg-no-values, r=petroche…
Noratrieb Jun 4, 2024
5e26f6a
Rollup merge of #125909 - fmease:rustdoc-add-test-synth-blanket-impls…
Noratrieb Jun 4, 2024
292985b
Rollup merge of #125919 - tbu-:pr_fix_typo, r=lqd
Noratrieb Jun 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler/rustc_feature/src/unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ declare_features! (

/// Allows using the `unadjusted` ABI; perma-unstable.
(internal, abi_unadjusted, "1.16.0", None),
/// Allows using the `vectorcall` ABI.
(unstable, abi_vectorcall, "1.7.0", None),
/// Allows using `#![needs_allocator]`, an implementation detail of `#[global_allocator]`.
(internal, allocator_internals, "1.20.0", None),
/// Allows using `#[allow_internal_unsafe]`. This is an
Expand Down Expand Up @@ -243,6 +241,8 @@ declare_features! (
// feature-group-start: internal feature gates
// -------------------------------------------------------------------------

/// Allows using the `vectorcall` ABI.
(unstable, abi_vectorcall, "1.7.0", Some(124485)),
/// Allows features specific to auto traits.
/// Renamed from `optin_builtin_traits`.
(unstable, auto_traits, "1.50.0", Some(13231)),
Expand Down
19 changes: 19 additions & 0 deletions src/doc/unstable-book/src/language-features/abi-vectorcall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# `abi_vectorcall`

The tracking issue for this feature is: [#124485]

[#124485]: /~https://github.com/rust-lang/rust/issues/124485

------------------------

Adds support for the Windows `"vectorcall"` ABI, the equivalent of `__vectorcall` in MSVC.

```rust,ignore (only-windows-or-x86-or-x86-64)
extern "vectorcall" {
fn add_f64s(x: f64, y: f64) -> f64;
}

fn main() {
println!("{}", add_f64s(2.0, 4.0));
}
```
7 changes: 7 additions & 0 deletions tests/ui/feature-gates/feature-gate-vectorcall.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ error[E0658]: vectorcall is experimental and subject to change
LL | extern "vectorcall" fn f() {}
| ^^^^^^^^^^^^
|
= note: see issue #124485 </~https://github.com/rust-lang/rust/issues/124485> for more information
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

Expand All @@ -13,6 +14,7 @@ error[E0658]: vectorcall is experimental and subject to change
LL | extern "vectorcall" fn m();
| ^^^^^^^^^^^^
|
= note: see issue #124485 </~https://github.com/rust-lang/rust/issues/124485> for more information
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

Expand All @@ -22,6 +24,7 @@ error[E0658]: vectorcall is experimental and subject to change
LL | extern "vectorcall" fn dm() {}
| ^^^^^^^^^^^^
|
= note: see issue #124485 </~https://github.com/rust-lang/rust/issues/124485> for more information
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

Expand All @@ -31,6 +34,7 @@ error[E0658]: vectorcall is experimental and subject to change
LL | extern "vectorcall" fn m() {}
| ^^^^^^^^^^^^
|
= note: see issue #124485 </~https://github.com/rust-lang/rust/issues/124485> for more information
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

Expand All @@ -40,6 +44,7 @@ error[E0658]: vectorcall is experimental and subject to change
LL | extern "vectorcall" fn im() {}
| ^^^^^^^^^^^^
|
= note: see issue #124485 </~https://github.com/rust-lang/rust/issues/124485> for more information
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

Expand All @@ -49,6 +54,7 @@ error[E0658]: vectorcall is experimental and subject to change
LL | type TA = extern "vectorcall" fn();
| ^^^^^^^^^^^^
|
= note: see issue #124485 </~https://github.com/rust-lang/rust/issues/124485> for more information
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

Expand All @@ -58,6 +64,7 @@ error[E0658]: vectorcall is experimental and subject to change
LL | extern "vectorcall" {}
| ^^^^^^^^^^^^
|
= note: see issue #124485 </~https://github.com/rust-lang/rust/issues/124485> for more information
= help: add `#![feature(abi_vectorcall)]` to the crate attributes to enable
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

Expand Down