dropbox / dropbox/rust-brotli-decompressor
Building with "unsafe" and "std" features fails with alloc-stdlib 0.2.2
- Dominant language
- Rust
- Stars
- 61
- Forks
- 30
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 10
Description
If I try and build with both the "std" and "unsafe" features enabled and alloc-stdlib 0.2.2 the build fails with
error[E0061]: this function takes 1 argument but 0 arguments were supplied
--> src/reader.rs:150:33
|
150 | let mut alloc_u8 = unsafe { HeapAllocUninitialized::::new() };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- an argument of type `u8` is missing
|
and a bunch more similar errors.
If I force alloc-stdlib to version 0.2.1 the build succeeds, so it seems like alloc-stdlib broke API.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.