-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
Execution of .check
, .build
& .test
fails due to a compilation problem.
I commented out the i686-pc-windows-gnu
target-related checks since I can't run them in my env and the compilation of wee_alloc
fails with output:
++ dirname ./check.sh
+ cd .
+ cd ./wee_alloc
+ cargo check
Compiling wee_alloc v0.4.5 (path_to/wee_alloc/wee_alloc)
Finished dev [unoptimized + debuginfo] target(s) in 0.20s
+ cargo check --target wasm32-unknown-unknown
Compiling wee_alloc v0.4.5 (path_to/wee_alloc/wee_alloc)
Finished dev [unoptimized + debuginfo] target(s) in 0.18s
+ cargo check --features size_classes
Finished dev [unoptimized + debuginfo] target(s) in 0.03s
+ cargo check --features size_classes --target wasm32-unknown-unknown
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
+ cd -
path_to/wee_alloc
+ cd ./test
+ cargo check
Compiling wee_alloc v0.4.5 (path_to/wee_alloc/wee_alloc)
Checking env_logger v0.5.13
error[E0432]: unresolved imports `core::alloc::Alloc`, `core::alloc::AllocErr`
--> wee_alloc/src/lib.rs:221:27
|
221 | use core::alloc::{Alloc, AllocErr};
| ^^^^^ ^^^^^^^^
| | |
| | no `AllocErr` in `alloc`
| | help: a similar name exists in the module: `AllocError`
| no `Alloc` in `alloc`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
error: could not compile `wee_alloc`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
It happens the same with the other scripts.
Steps to Reproduce
Just run any of check, build or test scripts.
Expected Behavior
I would expect the imports to be correct. Alloc
does not exist in libcore, it was renamed to Allocator
AFAIK. Same happens with AllocErr
which was renamed to AllocError
.
Also the Alloc
trait-functions have been updated.
If I'm not missing something or ommiting any info. And the repo is still mantained, I would like to update that and solve this issue. Otherways, please, could you tell me what I'm missing ?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working