Skip to content

Conversation

khyperia
Copy link
Contributor

@khyperia khyperia commented Oct 5, 2020

When the codegen-backend dylib changes, the program should be rebuilt.


Unfortunately I was unable to test this works locally due to running into a TLS issue when running the custom backend, thread 'rustc' panicked at 'no ImplicitCtxt stored in tls', compiler/rustc_middle/src/ty/context.rs:1750:54, which seems similar to #62717 but has a completely different cause and backtrace.

@eddyb said to ping @Mark-Simulacrum about what they think about this, so, ping!

When the codegen-backend dylib changes, the program should be rebuilt.
@rust-highfive
Copy link
Contributor

r? @ecstatic-morse

(rust_highfive has picked a reviewer for you, use r? to override)

@ecstatic-morse
Copy link
Contributor

I was waiting for @Mark-Simulacrum to have a look, but this seems correct in the abstract.

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Oct 10, 2020

📌 Commit ba22fbe has been approved by ecstatic-morse

@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 Oct 10, 2020
@Mark-Simulacrum
Copy link
Member

This seems good, I think I missed or forgot about the initial ping. I will see PRs assigned to me so please r? me in the future.

@bors
Copy link
Collaborator

bors commented Oct 11, 2020

⌛ Testing commit ba22fbe with merge fb27a7d...

@bors
Copy link
Collaborator

bors commented Oct 11, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: ecstatic-morse
Pushing fb27a7d to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 11, 2020
@bors bors merged commit fb27a7d into rust-lang:master Oct 11, 2020
@rustbot rustbot added this to the 1.49.0 milestone Oct 11, 2020
@khyperia khyperia deleted the codegen-backend-dep branch October 14, 2020 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: 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.

6 participants