-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
eval_fn_call
: check the ABI of body.source
#85087
Conversation
eval_fn_call
: check the ABI of body.source
eval_fn_call
: check the ABI of body.source
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
eval_fn_call
: check the ABI of body.source
eval_fn_call
: check the ABI of body.source
r? @RalfJung -- I think this adds the check that rust-lang/miri#1776 (comment) describes. |
Yeah, me neither. It looks right though. |
I hadn't, but I just tested it, and they passed:
|
Looking good then, thanks a lot. :) |
📌 Commit 97bc0ee has been approved by |
`eval_fn_call`: check the ABI of `body.source` And stop checking `instance_ty.fn_sig(*self.tcx).abi()`, if the function is not an intrinsic. Addresses rust-lang/miri#1776 (comment). No idea how to test this without Miri...
Rollup of 8 pull requests Successful merges: - rust-lang#85087 (`eval_fn_call`: check the ABI of `body.source`) - rust-lang#85302 (Expand WASI abbreviation in docs) - rust-lang#85355 (More tests for issue-85255) - rust-lang#85367 (Fix invalid input:disabled CSS selector) - rust-lang#85374 (mark internal inplace_iteration traits as hidden) - rust-lang#85408 (remove size field from Allocation) - rust-lang#85409 (Simplify `cfg(any(unix, target_os="redox"))` in example to just `cfg(unix)`) - rust-lang#85412 (remove some functions that were only used by Miri) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
And stop checking
instance_ty.fn_sig(*self.tcx).abi()
, if the function is not an intrinsic.Addresses rust-lang/miri#1776 (comment).
No idea how to test this without Miri...