From f719d1e99fa3b5da1a555e2274b6f268dd4b632c Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 7 Apr 2020 10:07:39 +0300 Subject: [PATCH] revert --- programming/library/cbindgen/files/test.patch | 107 ++++++++++++++++-- 1 file changed, 100 insertions(+), 7 deletions(-) diff --git a/programming/library/cbindgen/files/test.patch b/programming/library/cbindgen/files/test.patch index 04934fdafa..a546768ddc 100644 --- a/programming/library/cbindgen/files/test.patch +++ b/programming/library/cbindgen/files/test.patch @@ -1,15 +1,108 @@ +diff -Nuar a/Cargo.lock b/Cargo.lock +--- a/Cargo.lock 2020-04-05 00:32:40.000000000 +0300 ++++ b/Cargo.lock 2020-04-01 12:45:53.000000000 +0300 +@@ -32,7 +32,7 @@ + + [[package]] + name = "cbindgen" +-version = "0.14.0" ++version = "0.13.2" + dependencies = [ + "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", +diff -Nuar a/Cargo.toml b/Cargo.toml +--- a/Cargo.toml 2020-04-05 00:32:40.000000000 +0300 ++++ b/Cargo.toml 2020-04-01 12:45:53.000000000 +0300 +@@ -1,6 +1,6 @@ + [package] + name = "cbindgen" +-version = "0.14.0" ++version = "0.13.2" + authors = ["Jeff Muizelaar ", + "Kartikaya Gupta ", + "Ryan Hunt "] +diff -Nuar a/CHANGES b/CHANGES +--- a/CHANGES 2020-04-05 00:32:40.000000000 +0300 ++++ b/CHANGES 2020-04-01 12:45:53.000000000 +0300 +@@ -1,10 +1,3 @@ +-## 0.14.0 +- +- * Minor tweak at how [export.exclude] is handled to allow excluding +- generic instantiations in C mode. (#501) +- * Documented cpp_compat option. (#496) +- * Fixed a panic when parsing associated constants for a built-in type. (#494) +- + ## 0.13.2 + + * Constants now have suitable documentation. (#471) diff -Nuar a/tests/tests.rs b/tests/tests.rs --- a/tests/tests.rs 2020-04-05 00:32:40.000000000 +0300 -+++ b/tests/tests.rs 2020-04-07 09:43:23.472782274 +0300 -@@ -74,7 +74,10 @@ ++++ b/tests/tests.rs 2020-04-01 12:45:53.000000000 +0300 +@@ -62,19 +62,13 @@ + ); + } + +-fn compile( +- cbindgen_output: &Path, +- tests_path: &Path, +- tmp_dir: &Path, +- language: Language, +- style: Option