Skip to content

Uncaught TypeError: Failed to resolve module specifier "env". Relative references must start with either "/", "./", or "../". #14

@atanida

Description

@atanida

Wasm2wat gives this:
(import "env" "now" (func $now (type $t3)))

The function that triggers the horror is this one:
let _ = wasm_timer::Delay::new(std::time::Duration::from_secs(2)).await

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