rust-lang / reference

The Rust Reference
https://doc.rust-lang.org/nightly/reference/
Apache License 2.0
1.25k stars 490 forks source link

Fix stdcall example broken by recent rustc change #1659

Closed ehuss closed 1 month ago

ehuss commented 1 month ago

https://github.com/rust-lang/rust/pull/129935 made unsupported_calling_conventions a hard-error, which in turn makes this test fail. This should fix toolstate.

Additionally, I took the opportunity to also remove an ignore on a test with the same issue. Note that this is subtly different in that it uses an all instead of any due to being a raw-dylib.