Tags 952228 +patch
Thanks

>   = help: add `#![feature(custom_inner_attributes)]` to the crate attributes 
to enable
After doing some googling to find out what "crate attributes" were I was able 
to put together a patch that makes the package build successfully.

Debdiff is attached, I may or may not NMU this later.

diff -Nru rust-core-arch-0.1.5/debian/changelog 
rust-core-arch-0.1.5/debian/changelog
--- rust-core-arch-0.1.5/debian/changelog       2019-08-06 16:10:01.000000000 
+0000
+++ rust-core-arch-0.1.5/debian/changelog       2020-04-12 10:03:51.000000000 
+0000
@@ -1,3 +1,11 @@
+rust-core-arch (0.1.5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add feature custom_inner_attributes to src/lib.rs to fix FTBFS
+    (Closes: 952228)
+
+ -- Peter Michael Green <plugw...@debian.org>  Sun, 12 Apr 2020 10:03:51 +0000
+
 rust-core-arch (0.1.5-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru 
rust-core-arch-0.1.5/debian/patches/add-feature-custom-inner-attributes.patch 
rust-core-arch-0.1.5/debian/patches/add-feature-custom-inner-attributes.patch
--- 
rust-core-arch-0.1.5/debian/patches/add-feature-custom-inner-attributes.patch   
    1970-01-01 00:00:00.000000000 +0000
+++ 
rust-core-arch-0.1.5/debian/patches/add-feature-custom-inner-attributes.patch   
    2020-04-12 10:03:51.000000000 +0000
@@ -0,0 +1,18 @@
+Description: Add feature custom_inner_attributes to src/lib.rs to fix FTBFS
+Author: Peter Michael Green <plugw...@debian.org>
+Bug-Debian: https://bugs.debian.org/952228
+
+Index: rust-core-arch-0.1.5/src/lib.rs
+===================================================================
+--- rust-core-arch-0.1.5.orig/src/lib.rs
++++ rust-core-arch-0.1.5/src/lib.rs
+@@ -32,7 +32,8 @@
+     wasm_target_feature,
+     abi_unadjusted,
+     adx_target_feature,
+-    external_doc
++    external_doc,
++    custom_inner_attributes
+ )]
+ #![cfg_attr(test, feature(test, abi_vectorcall, untagged_unions))]
+ #![deny(clippy::missing_inline_in_public_items)]
diff -Nru rust-core-arch-0.1.5/debian/patches/series 
rust-core-arch-0.1.5/debian/patches/series
--- rust-core-arch-0.1.5/debian/patches/series  1970-01-01 00:00:00.000000000 
+0000
+++ rust-core-arch-0.1.5/debian/patches/series  2020-04-12 10:03:51.000000000 
+0000
@@ -0,0 +1 @@
+add-feature-custom-inner-attributes.patch

Reply via email to