From: Vasudev Kamath Date: Tue, 5 Dec 2017 15:10:00 +0000 (+0530) Subject: Add patch 2006 to disable wasm32 tests. X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~117 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f4b5704cb2e4c4f0da2e5f4d3f4de81dbf022c51;p=cargo.git Add patch 2006 to disable wasm32 tests. --- diff --git a/debian/patches/2006_disable_wasm32_tests.patch b/debian/patches/2006_disable_wasm32_tests.patch new file mode 100644 index 000000000..dcd31606d --- /dev/null +++ b/debian/patches/2006_disable_wasm32_tests.patch @@ -0,0 +1,16 @@ +Description: Disable wasm32_final_outputs test + This test depends on emscripten built using fastcomp + a fork of LLVM and is not avaialble in Debian. +Author: Vasudev Kamath +Last-Update: 2017-12-05 + +--- cargo-0.23.0.orig/tests/build.rs ++++ cargo-0.23.0/tests/build.rs +@@ -3479,7 +3479,6 @@ fn cdylib_final_outputs() { + } + } + +-#[test] + fn wasm32_final_outputs() { + use cargo::core::{Shell, Target, Workspace}; + use cargo::ops::{self, BuildConfig, Context, CompileMode, CompileOptions, Kind, Unit}; diff --git a/debian/patches/series b/debian/patches/series index b2dc012d0..7e0bb0a15 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 2002_disable-net-tests.patch 1002_fix_typo_cargo_search.patch 2005_dont_run_mdbook.patch +2006_disable_wasm32_tests.patch