Skip to content

enable async feature will build fail with musl env #128

@CaptainVincent

Description

@CaptainVincent

The default feature will enable async.

However, many functions or structures in executor are used in the fiber.rs but are ignored with
#[cfg(all(target_os = "linux", not(target_env = "musl")))]
cause build fail.

Is this the expected behavior? and is there any standard approach for handling this?
Currently, I can only always disable async in runwasi. (they will build with musl and not musl both)

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