Allow for instantiating statics from upstream crates by michaelwoerister · Pull Request #48353 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation2 Commits5 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

michaelwoerister

This PR makes the infrastructure around translating statics a bit more flexible so that it can also instantiate statics from upstream crates if the need arises. This is preparatory work for a MIR-only RLIBs prototype, where the instantiation of a static may be deferred until a leaf crate.

r? @eddyb (feel free to assign to someone else if you're busy)

@eddyb

@bors

📌 Commit 89b3ef3 has been approved by eddyb

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Feb 21, 2018

Manishearth added a commit to Manishearth/rust that referenced this pull request

Feb 24, 2018

@Manishearth

…fid, r=eddyb

Allow for instantiating statics from upstream crates

This PR makes the infrastructure around translating statics a bit more flexible so that it can also instantiate statics from upstream crates if the need arises. This is preparatory work for a MIR-only RLIBs prototype, where the instantiation of a static may be deferred until a leaf crate.

r? @eddyb (feel free to assign to someone else if you're busy)

bors added a commit that referenced this pull request

Feb 24, 2018

@bors

Rollup of 15 pull requests

Manishearth added a commit to Manishearth/rust that referenced this pull request

Feb 24, 2018

@Manishearth

…fid, r=eddyb

Allow for instantiating statics from upstream crates

This PR makes the infrastructure around translating statics a bit more flexible so that it can also instantiate statics from upstream crates if the need arises. This is preparatory work for a MIR-only RLIBs prototype, where the instantiation of a static may be deferred until a leaf crate.

r? @eddyb (feel free to assign to someone else if you're busy)

bors added a commit that referenced this pull request

Feb 24, 2018

@bors

Rollup of 15 pull requests

Labels

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.