polyfractal/bounded-spsc-queue

Allocator API changed again on 1.30

mooman219 opened this issue · 0 comments

Classic nightly, moving out from under you all the time. Anyway, this fails to build again on 1.30.

error[E0425]: cannot find function oom in module alloc
   --> ...\github.com-1ecc6299db9ec823\bounded-spsc-queue-0.3.0\src\lib.rs:351:260.3.0\src\lib.rs:351:26
    |
351 |         Err(_) => alloc::oom(),
    |                          ^^^ not found in alloc

   Compiling winapi v0.3.6                                                                         e
error[E0599]: no method named as_opaque found for type std::ptr::NonNull<T> in the current scop0.3.0\src\lib.rs:256:40e
   --> ...\github.com-1ecc6299db9ec823\bounded-spsc-queue-0.3.0\src\lib.rs:256:40
    |
256 |             Global.dealloc(self.buffer.as_opaque(), layout);
    |                                        ^^^^^^^^^

error: aborting due to 2 previous errors

Some errors occurred: E0425, E0599.