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
Use rustc_target
for function call ABI compatibility check
#402
Comments
@eddyb has dropped some more hints at https://botbot.me/mozilla/rustc/2018-07-14/?msg=102084910&page=1 |
One annoyance is that there's some code stuck in But once you have a |
So you're saying I can ignore the |
@eddyb So how do I go from Also, I likely still have to look at |
Well, they're not |
I'd start by grepping for |
Details seem to be https://github.com/rust-lang/rust/blob/63d66494aff57411bfec1dd2a3a5f1af900feab6/src/librustc_codegen_llvm/abi.rs#L363-L379 (I'd like them here so I know where to look if I need them again) |
This code has been overhauled by rust-lang/rust#53779 and is mostly sane now. |
@eddyb suggests to use something in https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/abi/call/index.html instead of https://github.com/rust-lang/rust/blob/c610be92e2925ab8e789efc835c88247e46c6cbf/src/librustc_mir/interpret/terminator/mod.rs#L191.
IRC log:
Unfortunately I have no idea yet what all of that means. ;)
The text was updated successfully, but these errors were encountered: