Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

panicked at 'the runtime has not been set' #74

Closed
@iMiamas

Description

@iMiamas

when i run application to this:
let stream = TcpStream::connect(server).await?;

rootthread ':' panicked at 'the runtime has not been set '

i use rust as a lib, does not have main func ,so i can not use "#[runtime:main]",or i don't kown how to use "#[runtime:main]"

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