Skip to content

Commit 7b0ff6d

Browse files
committed
abi tests: remove 'char' in the PRINT_CONSTANT macro
We explicitely handle signed and unsigned, and some compilers (MSVC) do not like duplicate types.
1 parent 92a8bb1 commit 7b0ff6d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/codegen/sys/tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ fn generate_constant_c(
276276
_Generic((CONSTANT_NAME), \
277277
char *: "%s", \
278278
const char *: "%s", \
279-
char: "%c", \
280279
signed char: "%hhd", \
281280
unsigned char: "%hhu", \
282281
short int: "%hd", \

0 commit comments

Comments
 (0)