Skip to content

Rust 1.87.0 complains about size-of@0.1.5 usage of "fastcall" on a Mac target #6

@lemvik

Description

@lemvik

Hi!

Overview

After updating to Rust toolchain version 1.87.0 we started getting the following complaint from the compiler:

warning: the following packages contain code that will be rejected by a future version of Rust: size-of v0.1.5

Apparently it is related to fastcall convention being used to specify foreign function - on a Mac it has no effect and was previously allowed, but now it's about to become an error.

This tracking issue seems related: rust-lang/rust#87678

Steps to reproduce

Create a new project, add size-of to it and try to build using stable-aarch64-apple-darwin toolchain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions