Skip to content

Perform proper refcounting on imported crate-cache entries. #11

Closed
@graydon

Description

The crate-cache entries (and thus 'use'd crates) currently possess the ability to be flushed and reloaded, but the import calls fail to perform the refcounts on either side of cross-crate calls, and there isno exposed way to ask the runtime to request a flush/reload.

This will require some unwinding work as well, to drop refcounts when unwinding across a cross-crate call. And closure work, for captured imports. And other stuff.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesA-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions