summaryrefslogtreecommitdiffstats
path: root/vendor/unicode-normalization/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:55 +0000
commit2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4 (patch)
tree033cc839730fda84ff08db877037977be94e5e3a /vendor/unicode-normalization/debian
parentInitial commit. (diff)
downloadcargo-upstream.tar.xz
cargo-upstream.zip
Adding upstream version 0.70.1+ds1.upstream/0.70.1+ds1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/unicode-normalization/debian')
-rw-r--r--vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch38
-rw-r--r--vendor/unicode-normalization/debian/patches/series1
2 files changed, 39 insertions, 0 deletions
diff --git a/vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch b/vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch
new file mode 100644
index 0000000..e2a56f1
--- /dev/null
+++ b/vendor/unicode-normalization/debian/patches/disable-tests-missing-testdata.patch
@@ -0,0 +1,38 @@
+--- a/benches/bench.rs
++++ b/benches/bench.rs
+@@ -81,7 +81,7 @@
+ b.iter(|| ASCII.nfd().count());
+ }
+
+-#[bench]
++/*#[bench]
+ fn bench_nfc_long(b: &mut Bencher) {
+ let long = fs::read_to_string("benches/long.txt").unwrap();
+ b.iter(|| long.nfc().count());
+@@ -91,7 +91,7 @@
+ fn bench_nfd_long(b: &mut Bencher) {
+ let long = fs::read_to_string("benches/long.txt").unwrap();
+ b.iter(|| long.nfd().count());
+-}
++}*/
+
+ #[bench]
+ fn bench_nfkc_ascii(b: &mut Bencher) {
+@@ -103,7 +103,7 @@
+ b.iter(|| ASCII.nfkd().count());
+ }
+
+-#[bench]
++/*#[bench]
+ fn bench_nfkc_long(b: &mut Bencher) {
+ let long = fs::read_to_string("benches/long.txt").unwrap();
+ b.iter(|| long.nfkc().count());
+@@ -113,7 +113,7 @@
+ fn bench_nfkd_long(b: &mut Bencher) {
+ let long = fs::read_to_string("benches/long.txt").unwrap();
+ b.iter(|| long.nfkd().count());
+-}
++}*/
+
+ #[bench]
+ fn bench_streamsafe_ascii(b: &mut Bencher) {
diff --git a/vendor/unicode-normalization/debian/patches/series b/vendor/unicode-normalization/debian/patches/series
new file mode 100644
index 0000000..39fe7a4
--- /dev/null
+++ b/vendor/unicode-normalization/debian/patches/series
@@ -0,0 +1 @@
+disable-tests-missing-testdata.patch