Commit 213ebd5
committed
Build C API tests with clang
Fedora 44 appears to have shipped a version of GCC 16 containing PR120322
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120322), which causes
narrow integer arguments not to be zero-extended when they are passed to
functions. The bug caused spurious failures in the `callind` test case
by passing `SPIDIR_TYPE_NONE` as 0xffffffff and triggering UB in the rust
code.
Just switch to clang for now (and probably forever?).1 parent e8d2f07 commit 213ebd5
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments