async-rs / async-std

Async version of the Rust standard library
https://async.rs
Apache License 2.0
3.96k stars 341 forks source link

`extern crate alloc` pulled in without alloc feature #952

Open chrysn opened 3 years ago

chrysn commented 3 years ago

The use of extern crate alloc is unconditional, which is odd given there is an alloc feature.

My expectation would be that

If that is the project's intention (and just not tested on a no-alloc system), there's a few changes I have up the pipeline but don't want to clean up to pull readiness until there is confirmation that this is how it's supposed to be:

Please let me know if the proposed is in line with the project's style, then I can hammer things out into a PR.

chrysn commented 3 years ago

(Keeping the few commits I already have in that direction on https://github.com/chrysn-pull-requests/async-std/tree/no-alloc-futures fur reference)