Skip to content

fails to test examples without feature std #53

@jonassmedegaard

Description

@jonassmedegaard

The command cargo test --all-targets --no-default-features fails like this:

514s error[E0425]: cannot find function `spawn_local` in crate `async_task`
514s   --> examples/spawn-local.rs:22:40
514s    |
514s 22 |     let (runnable, task) = async_task::spawn_local(future, schedule);
514s    |                                        ^^^^^^^^^^^ not found in `async_task`
514s 
514s For more information about this error, try `rustc --explain E0425`.
514s error: could not compile `async-task` due to previous error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions