Skip to content

always make at least one codegen-unit #33732

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

Merged
merged 2 commits into from
May 26, 2016

Conversation

nikomatsakis
Copy link
Contributor

this allows us to remove the dummy foo fn

r? @michaelwoerister

this allows us to remove the dummy `foo` fn
@@ -228,6 +228,17 @@ fn place_root_translation_items<'a, 'tcx, I>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
}
}

// always ensure we have at least one CGO; otherwise, if we have a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/CGO/CGU

@michaelwoerister
Copy link
Member

I have something to that effect in my collector-driven trans branch too, where I ran into a similar problem. r=me with the typo fixed.

@nikomatsakis
Copy link
Contributor Author

@bors r=mw

@bors
Copy link
Collaborator

bors commented May 24, 2016

📌 Commit be7b576 has been approved by mw

@bors
Copy link
Collaborator

bors commented May 25, 2016

⌛ Testing commit be7b576 with merge 267cde2...

bors added a commit that referenced this pull request May 25, 2016
always make at least one codegen-unit

this allows us to remove the dummy `foo` fn

r? @michaelwoerister
@bors bors merged commit be7b576 into rust-lang:master May 26, 2016
@nikomatsakis nikomatsakis deleted the incr-comp-empty-cgu branch October 3, 2016 14:55
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

Successfully merging this pull request may close these issues.

3 participants