File tree Expand file tree Collapse file tree 3 files changed +6
-38
lines changed Expand file tree Collapse file tree 3 files changed +6
-38
lines changed Original file line number Diff line number Diff line change @@ -42,32 +42,13 @@ atomic-polyfill = { version = "1.0.1", optional = true }
42
42
43
43
[dependencies ]
44
44
hash32 = " 0.3.0"
45
+ serde = { version = " 1" , optional = true , default-features = false }
46
+ stable_deref_trait = { version = " 1" , default-features = false }
47
+ ufmt-write = { version = " 0.1" , optional = true }
48
+ defmt = { version = " >=0.2.0,<0.4" , optional = true }
45
49
46
- [target .'cfg(target_arch = "x86_64")' .dependencies ]
47
- spin = " 0.9.4"
48
-
49
- [dependencies .serde ]
50
- version = " 1"
51
- optional = true
52
- default-features = false
53
-
54
- [dependencies .stable_deref_trait ]
55
- version = " 1"
56
- default-features = false
57
-
58
- [dependencies .ufmt-write ]
59
- version = " 0.1"
60
- optional = true
61
-
62
- [dev-dependencies .ufmt ]
63
- version = " 0.1"
64
-
65
- [dependencies .defmt ]
66
- version = " >=0.2.0,<0.4"
67
- optional = true
68
-
69
- [build-dependencies ]
70
- rustc_version = " 0.4.0"
50
+ [dev-dependencies ]
51
+ ufmt = { version = " 0.1" }
71
52
72
53
[package .metadata .docs .rs ]
73
54
all-features = true
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ use std::{
8
8
process:: { Command , ExitStatus , Stdio } ,
9
9
} ;
10
10
11
- use rustc_version:: Channel ;
12
-
13
11
fn main ( ) -> Result < ( ) , Box < dyn Error > > {
14
12
let target = env:: var ( "TARGET" ) ?;
15
13
@@ -90,13 +88,6 @@ fn main() -> Result<(), Box<dyn Error>> {
90
88
}
91
89
}
92
90
93
- if !matches ! (
94
- rustc_version:: version_meta( ) . unwrap( ) . channel,
95
- Channel :: Stable | Channel :: Beta
96
- ) {
97
- println ! ( "cargo:rustc-cfg=unstable_channel" ) ;
98
- }
99
-
100
91
match compile_probe ( ARM_LLSC_PROBE ) {
101
92
Some ( status) if status. success ( ) => println ! ( "cargo:rustc-cfg=arm_llsc" ) ,
102
93
_ => { }
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ fn twice() {
50
50
}
51
51
52
52
#[ test]
53
- #[ cfg( unstable_channel) ]
54
53
fn scoped ( ) {
55
54
let mut rb: spsc:: Queue < i32 , 5 > = spsc:: Queue :: new ( ) ;
56
55
@@ -75,7 +74,6 @@ fn scoped() {
75
74
76
75
#[ test]
77
76
#[ cfg_attr( miri, ignore) ] // too slow
78
- #[ cfg( unstable_channel) ]
79
77
fn contention ( ) {
80
78
const N : usize = 1024 ;
81
79
@@ -121,7 +119,6 @@ fn contention() {
121
119
122
120
#[ test]
123
121
#[ cfg_attr( miri, ignore) ] // too slow
124
- #[ cfg( unstable_channel) ]
125
122
fn mpmc_contention ( ) {
126
123
use std:: sync:: mpsc;
127
124
@@ -172,7 +169,6 @@ fn mpmc_contention() {
172
169
173
170
#[ test]
174
171
#[ cfg_attr( miri, ignore) ] // too slow
175
- #[ cfg( unstable_channel) ]
176
172
fn unchecked ( ) {
177
173
const N : usize = 1024 ;
178
174
You can’t perform that action at this time.
0 commit comments