-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Environment info
rustc 1.34.0 (91856ed52 2019-04-10)Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3 (2019-02-02) x86_64 GNU/Linux- on master branch, commit
3351bef
Repro
cd wasmtime-jit && cargo build --features default
Output
error[E0432]: unresolved import `std::ops`
--> wasmtime-environ/src/compilation.rs:9:10
|
9 | use std::ops::Range;
| ^^^ did you mean `rayon::std::ops`?
error[E0554]: #![feature] may not be used on the stable release channel
--> wasmtime-environ/src/lib.rs:28:35
|
28 | #![cfg_attr(not(feature = "std"), feature(alloc))]
| ^^^^^^^^^^^^^^
error[E0282]: type annotations needed
--> wasmtime-environ/src/compilation.rs:32:30
|
32 | .map(|range| buffer[range].to_vec())
| ^^^^^^^^^^^^^ cannot infer type
|
= note: type must be known at this point
error: aborting due to 3 previous errors
Some errors occurred: E0282, E0432, E0554.
For more information about an error, try `rustc --explain E0282`.
error: Could not compile `wasmtime-environ`.
- Interestingly, wasmtime-environ does not fail when built individually.
- Building on nightly (
rustc 1.36.0-nightly (3c3d3c177 2019-04-17)) obviously gets rid of the error relating to the feature attribute, but retains the same errors about the type inference and resolvingstd::ops.
Perhaps this may be related in some way to #75?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels