File: disable-atomic-pollyfill.diff

package info (click to toggle)
rust-once-cell 1.17.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 340 kB
  • sloc: makefile: 2
file content (31 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: once-cell/Cargo.toml
===================================================================
--- once-cell.orig/Cargo.toml
+++ once-cell/Cargo.toml
@@ -66,10 +66,10 @@ required-features = ["std"]
 name = "test_synchronization"
 required-features = ["std"]
 
-[dependencies.atomic_polyfill]
-version = "1"
-optional = true
-package = "atomic-polyfill"
+#[dependencies.atomic_polyfill]
+#version = "1"
+#optional = true
+#package = "atomic-polyfill"
 
 [dependencies.critical_section]
 version = "1"
@@ -97,11 +97,6 @@ version = "1.2.0"
 
 [features]
 alloc = ["race"]
-atomic-polyfill = ["critical-section"]
-critical-section = [
-    "critical_section",
-    "atomic_polyfill",
-]
 default = ["std"]
 parking_lot = ["parking_lot_core"]
 race = []