Skip to content

regression: error[E0570]: "stdcall"/"fastcall" is not a supported ABI for the current target #134712

@cuviper

Description

@cuviper
Member

Activity

added
C-bugCategory: This is a bug.
regression-untriagedUntriaged performance or correctness regression.
on Dec 23, 2024
added
I-prioritizeIssue: Indicates that prioritization has been requested for this issue.
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
and removed
regression-untriagedUntriaged performance or correctness regression.
on Dec 23, 2024
compiler-errors

compiler-errors commented on Dec 23, 2024

@compiler-errors
Member

This regressed in #129935.

This crater run may have missed some crates due to a recently discovered regression in crater which was reporting a large number of "unknown" results (https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/crater.20returning.20unknown).

cc @RalfJung. I assume the decision shouldn't really change (I still think we should make this FCW a hard error), but perhaps we should announce to more people that their crates are gonna break.

added this to the 1.84.0 milestone on Dec 24, 2024
cuviper

cuviper commented on Dec 24, 2024

@cuviper
MemberAuthor

If you're looking for people to notify, a few more showed up in the rustdoc run:

  1. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/IDragnev.oppa/log.txt
  2. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/K0enM.sup/log.txt
  3. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/Zerx0r.rs_ppid_spoof_hollow/log.txt
  4. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/bondTM.shogi/log.txt
  5. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/chuckries.rust-com/log.txt
  6. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/den-mentiei.prima/log.txt
  7. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/dev-nolant.Rust-Command-Line-Tool/log.txt
  8. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/elipmoc.rust_dxlib/log.txt
  9. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/iamtyler.iocp.rs/log.txt
  10. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/loctranbao.ownping/log.txt
  11. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/lumenian.ping/log.txt
  12. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/shirshak55.ping/log.txt
  13. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/snf.rust_crashes/log.txt
  14. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/tspivey.tdsr-server/log.txt
  15. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/vassjozsef.nvapi-rust/log.txt
  16. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/vrnvu.pong/log.txt
  17. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/alexpilotti.libwhp-sample/log.txt
  18. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/gh/itchio.husk/log.txt
  19. https://crater-reports.s3.amazonaws.com/beta-rustdoc-1.84.0-4-retry/beta-2024-12-08/reg/webview2-0.1.4/log.txt

(edit: appended 3 more that crater hadn't IDed as E0570)

RalfJung

RalfJung commented on Dec 24, 2024

@RalfJung
Member

Looking at the crates.io regressions, the only new ones are

  • dx_core: hasn't been updated in 9 years
  • webview2: bindings for "Microsoft Edge WebView2 control", so anyway Windows-only

So no action necessary here. I don't usually file issues for things not on crates.io; many of those are one-off experiments and the code is clearly not meant for wider consumption.

apiraino

apiraino commented on Dec 26, 2024

@apiraino
Contributor

So no action necessary here. I don't usually file issues for things not on crates.io;

just thinking if you want to add something in the release notes as a "FIY" in the compat notes (that's also an option)

RalfJung

RalfJung commented on Dec 26, 2024

@RalfJung
Member

This should of course be listed in the compatibility notes, but I assume that is already planned anyway (#131039).

ChrisDenton

ChrisDenton commented on Dec 26, 2024

@ChrisDenton
Member

I'd guess most of the real world failures will be on Windows. Having stdcall and fastcall mean C on x64 is the C/C++ behaviour.

RalfJung

RalfJung commented on Dec 26, 2024

@RalfJung
Member

There's no behavior change on Windows. Only targets that are neither Windows nor 32bit-x86 are affected by this.

Mark-Simulacrum

Mark-Simulacrum commented on Jan 3, 2025

@Mark-Simulacrum
Member

Closing as won't fix in favor of existing relnotes item.

removed
I-prioritizeIssue: Indicates that prioritization has been requested for this issue.
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Development

    No branches or pull requests

      Participants

      @cuviper@RalfJung@compiler-errors@ChrisDenton@Mark-Simulacrum

      Issue actions

        regression: error[E0570]: `"stdcall"`/`"fastcall"` is not a supported ABI for the current target · Issue #134712 · rust-lang/rust