Skip to content

metadata decode error with libraries, modules, and impls #2196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
erickt opened this issue Apr 14, 2012 · 2 comments
Closed

metadata decode error with libraries, modules, and impls #2196

erickt opened this issue Apr 14, 2012 · 2 comments
Assignees

Comments

@erickt
Copy link
Contributor

erickt commented Apr 14, 2012

I tracked down a pretty odd error, which can be found here: https://gist.github.com/2381410. It seems that with a pretty complicated use of libraries and the sharing of names for types, modules, and impls ultimately confuses the metadata decoder.

brson added a commit that referenced this issue Apr 16, 2012
@brson
Copy link
Contributor

brson commented Apr 16, 2012

Added the test case.

@brson
Copy link
Contributor

brson commented Apr 16, 2012

Fixt

@brson brson closed this as completed Apr 16, 2012
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
…ws, r=RalfJung

Handle wildcard pointers in SB

This uses an permissive `Unknown` implementation, where a wildcard pointer (and any SRW derived from a wildcard pointer) can access any previously-exposed SB tag. This is missing any meaningful test-cases, and all of the edge-cases have not yet been worked through.

I think there's also some bugs here with differing Unknowns in different ranges and having things behave really weirdly too, alongside some issues with retagging to `SRO` or `Unique`.
Kobzol pushed a commit to Kobzol/rust that referenced this issue Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants