File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -250,8 +250,6 @@ jobs:
250
250
- x86_64-unknown-linux-gnu
251
251
toolchain :
252
252
- nightly
253
- features :
254
- - x86-sync-pool
255
253
buildtype :
256
254
- " "
257
255
- " --release"
Original file line number Diff line number Diff line change @@ -241,35 +241,3 @@ fn iterator_properly_wraps() {
241
241
}
242
242
assert_eq ! ( expected, actual)
243
243
}
244
-
245
- #[ cfg( all( target_arch = "x86_64" , feature = "x86-sync-pool" ) ) ]
246
- #[ test]
247
- fn pool ( ) {
248
- use heapless:: pool:: singleton:: Pool as _;
249
-
250
- static mut M : [ u8 ; ( N + 1 ) * 8 ] = [ 0 ; ( N + 1 ) * 8 ] ;
251
- const N : usize = 16 * 1024 ;
252
- heapless:: pool!( A : [ u8 ; 8 ] ) ;
253
-
254
- A :: grow ( unsafe { & mut M } ) ;
255
-
256
- thread:: scope ( move |scope| {
257
- scope. spawn ( move || {
258
- for _ in 0 ..N / 4 {
259
- let a = A :: alloc ( ) . unwrap ( ) ;
260
- let b = A :: alloc ( ) . unwrap ( ) ;
261
- drop ( a) ;
262
- let b = b. init ( [ 1 ; 8 ] ) ;
263
- drop ( b) ;
264
- }
265
- } ) ;
266
-
267
- scope. spawn ( move || {
268
- for _ in 0 ..N / 2 {
269
- let a = A :: alloc ( ) . unwrap ( ) ;
270
- let a = a. init ( [ 2 ; 8 ] ) ;
271
- drop ( a) ;
272
- }
273
- } ) ;
274
- } ) ;
275
- }
You can’t perform that action at this time.
0 commit comments