/[packages]/cauldron/rust/current/SOURCES/rustc-1.50.0-allow_fail-armv7-instruction_set.patch
ViewVC logotype

Contents of /cauldron/rust/current/SOURCES/rustc-1.50.0-allow_fail-armv7-instruction_set.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1709688 - (show annotations) (download)
Wed Mar 24 23:40:41 2021 UTC (3 years ago) by akien
File size: 1349 byte(s)
Add patch to disable failing doc tests on armv7
1 diff -aur rustc-1.50.0-src/compiler/rustc_error_codes/src/error_codes/E0778.md rustc-1.50.0-src_patched/compiler/rustc_error_codes/src/error_codes/E0778.md
2 --- rustc-1.50.0-src/compiler/rustc_error_codes/src/error_codes/E0778.md 2021-03-25 00:27:25.008531043 +0100
3 +++ rustc-1.50.0-src_patched/compiler/rustc_error_codes/src/error_codes/E0778.md 2021-03-25 00:26:52.956757363 +0100
4 @@ -13,7 +13,7 @@
5 The parenthesized `instruction_set` attribute requires the parameter to be
6 specified:
7
8 -```
9 +```allow_fail
10 #![feature(isa_attribute)]
11
12 #[cfg_attr(target_arch="arm", instruction_set(arm::a32))]
13 @@ -22,7 +22,7 @@
14
15 or:
16
17 -```
18 +```allow_fail
19 #![feature(isa_attribute)]
20
21 #[cfg_attr(target_arch="arm", instruction_set(arm::t32))]
22 diff -aur rustc-1.50.0-src/compiler/rustc_error_codes/src/error_codes/E0779.md rustc-1.50.0-src_patched/compiler/rustc_error_codes/src/error_codes/E0779.md
23 --- rustc-1.50.0-src/compiler/rustc_error_codes/src/error_codes/E0779.md 2021-03-25 00:27:32.300441475 +0100
24 +++ rustc-1.50.0-src_patched/compiler/rustc_error_codes/src/error_codes/E0779.md 2021-03-25 00:26:52.957757363 +0100
25 @@ -18,7 +18,7 @@
26 All other arguments given to the `instruction_set` attribute will return this
27 error. Example:
28
29 -```
30 +```allow_fail
31 #![feature(isa_attribute)]
32
33 #[cfg_attr(target_arch="arm", instruction_set(arm::a32))] // ok!

  ViewVC Help
Powered by ViewVC 1.1.30