File: disable-tests-build-context.patch

package info (click to toggle)
rust-portable-atomic-util 0.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 304 kB
  • sloc: makefile: 4
file content (23 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -54,9 +54,6 @@
 features = ["require-cas"]
 default-features = false
 
-[dev-dependencies.build-context]
-version = "0.1"
-
 [features]
 alloc = []
 default = []
--- a/tests/arc.rs
+++ b/tests/arc.rs
@@ -93,7 +93,7 @@
 
 // For -C panic=abort -Z panic_abort_tests: https://github.com/rust-lang/rust/issues/67650
 fn is_panic_abort() -> bool {
-    build_context::PANIC.contains("abort")
+    false
 }
 
 // https://github.com/rust-lang/rust/blob/1.80.0/library/alloc/src/sync/tests.rs