Uh oh!
There was an error while loading. Please reload this page.
Don't declare test_variadic_fnptr with two conflicting signatures - #95088
Conversation
rust-highfive
commented
Mar 18, 2022
Some changes occured to rustc_codegen_cranelift cc @bjorn3 |
rust-highfive
commented
Mar 18, 2022
r? @scottmcm (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
ccd16da to
0467300Comparedtolnay
commented
Mar 19, 2022
@bors r+ |
bors
commented
Mar 19, 2022
📌 Commit 0467300 has been approved by |
…tolnay Don't declare test_variadic_fnptr with two conflicting signatures It is UB for LLVM and results in a compile error for Cranelift. cc https://github.com/bjorn3/rustc_codegen_cranelift/issues/806Fixesrust-lang#66690
…tolnay Don't declare test_variadic_fnptr with two conflicting signatures It is UB for LLVM and results in a compile error for Cranelift. cc https://github.com/bjorn3/rustc_codegen_cranelift/issues/806Fixesrust-lang#66690
matthiaskrgr
commented
Mar 20, 2022
Looks like this causes linking failures on windows: |
bjorn3
commented
Mar 20, 2022
I hoped that printf would be available on msvc. I think I will need to look for another symbol that is. |
bjorn3
commented
Mar 20, 2022
According to https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/printf-printf-l-wprintf-wprintf-l?view=msvc-170 printf should be available. @dtolnay do you have any clue what the issue could be? And if not would it be fine to disable the test on windows? |
bors
commented
Mar 20, 2022
☔ The latest upstream changes (presumably #95142) made this pull request unmergeable. Please resolve the merge conflicts. |
It is UB for LLVM and results in a compile error for Cranelift
0467300 to
56939ffComparebjorn3
commented
Mar 20, 2022
(rebased, but haven't fixed it yet) |
dtolnay
left a comment
There was a problem hiding this comment.
Don't know. I'd just exclude this test on Windows too.
bjorn3
commented
Mar 22, 2022
Done |
dtolnay
commented
Mar 22, 2022
@bors r+ |
bors
commented
Mar 22, 2022
📌 Commit 4af755b has been approved by |
bors
commented
Mar 23, 2022
bors
commented
Mar 23, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Mar 23, 2022
Finished benchmarking commit (2b50739): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
It is UB for LLVM and results in a compile error for Cranelift.
cc https://github.com/bjorn3/rustc_codegen_cranelift/issues/806
Fixes#66690