From 2088b61f3d6053d3879dcfcbe91c00157d050e16 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 29 Dec 2025 16:28:28 +0000 Subject: Make x86 library a little bit smaller again --- src/chunklets/README-x86 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/chunklets/README-x86') diff --git a/src/chunklets/README-x86 b/src/chunklets/README-x86 index cbfcb5d..e280b51 100644 --- a/src/chunklets/README-x86 +++ b/src/chunklets/README-x86 @@ -30,13 +30,14 @@ Note that GCC and Clang will generally give the best-performing output. Once the .c file is built, the public header can be consumed by virtually any C or C++ compiler, as well as probably most half-decent FFIs. -Note that the .c source file is probably C++-compatible at the moment, but this -is not guaranteed, so it's best to compile it as a C source. The header will -work fine from either language. +Note that the .c source file is not C++-compatible, only the header is. The +source file relies on array designated initialisers, which are only standardised +in C. Some C++ compilers may still allow this with a warning, but the most +straightforward thing would be to compile the source using a C compiler. == API usage == -See documentation comments in x86.h for a basic idea. Some *pro tips*: +See documentation comments in x86.h for a basic idea. == OS compatibility == -- cgit v1.2.3-54-g00ecf