Skip to content

Compilation issue on Darwin. #1

@Rushpixel

Description

@Rushpixel

Hello, still very new to wasm so I might be missing something obvious.
Error :
Compiling wasm-bindgen-futures v0.3.25 error[E0599]: no function or associated item named into_wakerfound for typedyn futures_util::task::arc_wake::ArcWakein the current scope --> /Users/BirdLab2/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-futures-0.3.25/src/futures_0_3.rs:251:58 | 251 | let waker = ArcWake::into_waker(task.clone()); | ^^^^^^^^^^ function or associated item not found indyn futures_util::task::arc_wake::ArcWake`

error: aborting due to previous error`

My Cargo.toml:
[dependencies] lazy_static = "1.2.0" bytebuffer = "0.2.1" png_encode_mini = "0.1.2" wasm-timer = "0.2.0"

You may notice I do not have wasm-bindgen as a dependency, this is because this is for a library used by a few other projects, one targeting native and another targeting wasm32-unknown-unknown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions