Skip to content

Fix resolving through dynamically loaded libraries #868

Open
@ramnivas

Description

@ramnivas

When we upgraded Deno in #867, along came a newer version of Tokio, which made a (breaking change)[https://github.com/tokio-rs/tokio/pull/5766] to make EnterGuard !Send. We need to use Handle::current() to get the current handle so those dynamically loaded libraries will work with the same runtime (see comments in subsystem_resolver.rs).

We deferred the issue using static loaders in the failing test since the fix seems more involved and best handled outside of Deno upgrade changes.

@tekul

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions