- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Only happens at
rustup default nightly-2020-02-19
rustup target add wasm32-unknown-unknown
Compiling hyper-rustls v0.17.1
error[E0603]: struct `Memory` is private
--> /Users/xavier/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:4873:60
|
4873 | let mem = buf.unchecked_ref::<WebAssembly::Memory>();
| ^^^^^^ this struct is private
|
note: the struct `Memory` is defined here
--> /Users/xavier/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:3516:5
|
3516 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0603]: struct `Memory` is private
--> /Users/xavier/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:4898:60
|
4898 | let mem = buf.unchecked_ref::<WebAssembly::Memory>();
| ^^^^^^ this struct is private
|
note: the struct `Memory` is defined here
--> /Users/xavier/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:3516:5
|
3516 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0603]: struct `Memory` is private
--> /Users/xavier/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:4908:60
|
4908 | let mem = buf.unchecked_ref::<WebAssembly::Memory>();
| ^^^^^^ this struct is private
|
note: the struct `Memory` is defined here
--> /Users/xavier/.cargo/registry/src/github.com-1ecc6299db9ec823/js-sys-0.3.35/src/lib.rs:3516:5
|
3516 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
Compiling prost v0.5.0
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0603`.
error: could not compile `js-sys`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
ivanceras, tomaka, EliSnow, cortopy, LukasKalbertodt and 10 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
nightly-2020-02-19
!! darwinia-network/darwinia#273extern { ... }
blocks are no longer given to procedural macros rust-lang/rust#69315alexcrichton commentedon Feb 20, 2020
Thanks for the report! I've opened rust-lang/rust#69315 since this appears to be a regression in rust-lang/rust.
blueto01h commentedon Feb 22, 2020
a colleague and me have the same
ModifiersChanged
variant toWindowEvent
rust-windowing/winit#1381Michael-F-Bryan commentedon Feb 25, 2020
I'm able to compile
arcs
(which transitively depends onjs-sys
) on nightly again now. Can this issue be closed?aurexav commentedon Feb 25, 2020
Yes.