Skip to content

Allow for instantiating statics from upstream crates - #48353

Merged
bors merged 5 commits into
rust-lang:masterfrom
michaelwoerister:monoitem-static-defid
Feb 24, 2018
Merged

Allow for instantiating statics from upstream crates#48353
bors merged 5 commits into
rust-lang:masterfrom
michaelwoerister:monoitem-static-defid

Conversation

@michaelwoerister

Copy link
Copy Markdown
Member

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)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 19, 2018
@eddyb

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Feb 21, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 89b3ef3 has been approved by eddyb

@borsbors 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
…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
Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 24, 2018
…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
bors merged commit 89b3ef3 into rust-lang:masterFeb 24, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@michaelwoerister@eddyb@bors@rust-highfive