You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ABI of functions with #[track_caller] include the caller location as an argument, however, we don't have any mechanism to generate the expected Location. We should add support for it.
Use FnAbi instead of function signature when generating code for
function types. Properly check the `PassMode::Ignore`.
For foreign functions, instead of ignoring the declaration type, cast
the arguments and return value.
For now, we also ignore the caller location, since we don't currently
support tracking caller location. This change makes it easier for us to
do so. We might want to wait for this issue to get fixed so we can
easily add support using stable APIs:
rust-lang/project-stable-mir#62
Use FnAbi instead of function signature when generating code for
function types. Properly check the `PassMode::Ignore`. For foreign
functions, instead of ignoring the declaration type, cast the arguments
and return value.
For now, we also ignore the caller location, since we don't currently
support tracking caller location. This change makes it easier for us to
do so. We might want to wait for this issue to get fixed so we can
easily add support using stable APIs:
rust-lang/project-stable-mir#62Resolves#2260Resolves#2312Resolves#1365Resolves#1350
The ABI of functions with
#[track_caller]
include the caller location as an argument, however, we don't have any mechanism to generate the expected Location. We should add support for it.For more details, see https://rustc-dev-guide.rust-lang.org/backend/implicit-caller-location.html.
The text was updated successfully, but these errors were encountered: