summaryrefslogtreecommitdiffstats
path: root/debian/patches/ubuntu-ignore-arm-doctest.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/ubuntu-ignore-arm-doctest.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/debian/patches/ubuntu-ignore-arm-doctest.patch b/debian/patches/ubuntu-ignore-arm-doctest.patch
deleted file mode 100644
index a70e4741f..000000000
--- a/debian/patches/ubuntu-ignore-arm-doctest.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Description: Disable the doctests for the instruction_set errors
- The fix is as described in the upstream issue.
-Author: Simon Chopin <simon.chopin@canonical.com>
-Bug: https://github.com/rust-lang/rust/issues/83453
-Last-Update: 2022-02-23
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: rust/compiler/rustc_error_codes/src/error_codes/E0778.md
-===================================================================
---- rust.orig/compiler/rustc_error_codes/src/error_codes/E0778.md
-+++ rust/compiler/rustc_error_codes/src/error_codes/E0778.md
-@@ -16,7 +16,7 @@ specified:
- ```
- #![feature(isa_attribute)]
-
--#[cfg_attr(target_arch="arm", instruction_set(arm::a32))]
-+#[cfg_attr(all(target_arch="arm", target_os="none"), instruction_set(arm::a32))]
- fn something() {}
- ```
-
-@@ -25,7 +25,7 @@ or:
- ```
- #![feature(isa_attribute)]
-
--#[cfg_attr(target_arch="arm", instruction_set(arm::t32))]
-+#[cfg_attr(all(target_arch="arm", target_os="none"), instruction_set(arm::t32))]
- fn something() {}
- ```
-
-Index: rust/compiler/rustc_error_codes/src/error_codes/E0779.md
-===================================================================
---- rust.orig/compiler/rustc_error_codes/src/error_codes/E0779.md
-+++ rust/compiler/rustc_error_codes/src/error_codes/E0779.md
-@@ -21,7 +21,7 @@ error. Example:
- ```
- #![feature(isa_attribute)]
-
--#[cfg_attr(target_arch="arm", instruction_set(arm::a32))] // ok!
-+#[cfg_attr(all(target_arch="arm", target_os="none"), instruction_set(arm::a32))] // ok!
- pub fn something() {}
- fn main() {}
- ```