File: skip-reload-filter-on-arm32.diff

package info (click to toggle)
rust-tracing-subscriber 0.3.20-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,888 kB
  • sloc: makefile: 2
file content (20 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: tracing-subscriber/tests/reload.rs
===================================================================
--- tracing-subscriber.orig/tests/reload.rs
+++ tracing-subscriber/tests/reload.rs
@@ -38,6 +38,7 @@ impl Subscriber for NopSubscriber {
 #[test]
 fn run_all_reload_test() {
     reload_handle();
+    #[cfg(not(target_arch = "arm"))]
     reload_filter();
 }
 
@@ -97,6 +98,7 @@ fn reload_handle() {
     })
 }
 
+#[cfg(not(target_arch = "arm"))]
 fn reload_filter() {
     struct NopLayer;
     impl<S: Subscriber> tracing_subscriber::Layer<S> for NopLayer {