-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1dd190
commit 9d04d69
Showing
27 changed files
with
46 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
tests/ui/cmse-nonsecure/cmse-nonsecure-entry-abi/gate_test.rs
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
tests/ui/cmse-nonsecure/cmse-nonsecure-entry-abi/gate_test.stderr
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
tests/ui/cmse-nonsecure/cmse-nonsecure-entry-abi/params-on-registers.rs
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
tests/ui/cmse-nonsecure/cmse-nonsecure-entry-abi/params-on-stack.rs
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
tests/ui/cmse-nonsecure/cmse-nonsecure-entry-abi/params-on-stack.stderr
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/ui/cmse-nonsecure/cmse-nonsecure-entry-abi/trustzone-only.rs
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
tests/ui/cmse-nonsecure/cmse-nonsecure-entry-abi/trustzone-only.stderr
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
tests/ui/cmse-nonsecure/cmse-nonsecure-entry/gate_test.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
error[E0658]: the `#[cmse_nonsecure_entry]` attribute is an experimental feature | ||
--> $DIR/gate_test.rs:4:1 | ||
error[E0658]: C-cmse-nonsecure-entry ABI is experimental and subject to change | ||
--> $DIR/gate_test.rs:4:12 | ||
| | ||
LL | #[cmse_nonsecure_entry] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^ | ||
LL | pub extern "C-cmse-nonsecure-entry" fn entry_function(input: u32) -> u32 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: see issue #75835 <https://github.com/rust-lang/rust/issues/75835> for more information | ||
= help: add `#![feature(cmse_nonsecure_entry)]` to the crate attributes to enable | ||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date | ||
|
||
error[E0775]: `#[cmse_nonsecure_entry]` is only valid for targets with the TrustZone-M extension | ||
error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target | ||
--> $DIR/gate_test.rs:4:1 | ||
| | ||
LL | #[cmse_nonsecure_entry] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^ | ||
LL | pub extern "C-cmse-nonsecure-entry" fn entry_function(input: u32) -> u32 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
Some errors have detailed explanations: E0658, E0775. | ||
For more information about an error, try `rustc --explain E0658`. | ||
Some errors have detailed explanations: E0570, E0658. | ||
For more information about an error, try `rustc --explain E0570`. |
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
tests/ui/cmse-nonsecure/cmse-nonsecure-entry/issue-83475.stderr
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
tests/ui/cmse-nonsecure/cmse-nonsecure-entry/trustzone-only.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
error[E0775]: `#[cmse_nonsecure_entry]` is only valid for targets with the TrustZone-M extension | ||
error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target | ||
--> $DIR/trustzone-only.rs:5:1 | ||
| | ||
LL | #[cmse_nonsecure_entry] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^ | ||
LL | pub extern "C-cmse-nonsecure-entry" fn entry_function(input: u32) -> u32 { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0775`. | ||
For more information about this error, try `rustc --explain E0570`. |
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
tests/ui/cmse-nonsecure/cmse-nonsecure-entry/wrong-abi.stderr
This file was deleted.
Oops, something went wrong.