Skip to content
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

ir: Don't panic when finding an unknown calling convention until code generation #722

Merged
merged 1 commit into from
May 26, 2017

Conversation

emilio
Copy link
Contributor

@emilio emilio commented May 26, 2017

This unblocks stylo in windows until we get __thiscall support in syntex. see #541.

@emilio
Copy link
Contributor Author

emilio commented May 26, 2017

r? @fitzgen

cc @froydnj

@upsuper
Copy link
Contributor

upsuper commented May 26, 2017

If I were you, I would probably still distinguish between invalid and unsupported in the warning, and use "unsupported" rather than "unknown" in the panic message. But I guess this is fine as well.

(It seems LLVM server is done, or at least Travis CI fails to connect to it...)

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

LGTM

@fitzgen
Copy link
Member

fitzgen commented May 26, 2017

r=me with CI passing

@emilio
Copy link
Contributor Author

emilio commented May 26, 2017

@bors-servo r=fitzgen

Let's see if llvm.org happens to be up

@bors-servo
Copy link

📌 Commit f2c2b78 has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit f2c2b78 with merge 3798bc7...

bors-servo pushed a commit that referenced this pull request May 26, 2017
ir: Don't panic when finding an unknown calling convention until code generation

This unblocks stylo in windows until we get `__thiscall` support in syntex. see #541.
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing 3798bc7 to master...

@bors-servo bors-servo merged commit f2c2b78 into rust-lang:master May 26, 2017
@cpeterso
Copy link

@emilio or @fitzgen, when you get a chance, can you please publish a new rust-bindgen release with this __thiscall fix? We need this to build Stylo on Win32. (Firefox bug 1366048)

@emilio
Copy link
Contributor Author

emilio commented May 28, 2017 via email

@cpeterso
Copy link

Let me know if you need me to do a bindgen upgrade in Servo too.

Yes, please! I filed servo/servo#17070 issue requesting the rust-bindgen version bump to v0.25.3

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.

6 participants