Release candidate 1 for 3.5.0. Windows build fixes. (#916)

* refactor(ci): improve wget retry logic in .ci/install.sh

* build(github-actions): use static runtime library in build

* refactor(ffi.h.in): export version API

* chore: update libffi version to 3.5.0-rc1
This commit is contained in:
Anthony Green 2025-06-05 06:12:10 -04:00 committed by GitHub
parent 3c54639eb8
commit bac99f2f3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 18 additions and 18 deletions

View File

@ -134,8 +134,8 @@ jobs:
LDFLAGS="-no-undefined " \
CPP="cl -nologo -EP" \
CXXCPP="cl -nologo -EP" \
CPPFLAGS="-DFFI_BUILDING_DLL" \
CFLAGS="-DFFI_BUILDING_DLL" \
CPPFLAGS="-DFFI_BUILDING_DLL -DUSE_STATIC_RTL" \
CFLAGS="-DFFI_BUILDING_DLL -DUSE_STATIC_RTL" \
AR='$(pwd)/.ci/ar-lib lib' \
NM='dumpbin -symbols' STRIP=':' \
$DEBUG_ARG || cat */config.log

View File

@ -1,7 +1,7 @@
Status
======
libffi-3.5.0-rc0 was released on June 2, 2025. Check the libffi web
libffi-3.5.0-rc1 was released on June 5, 2025. Check the libffi web
page for updates: <URL:http://sourceware.org/libffi/>.

View File

@ -2,10 +2,10 @@ dnl Process this with autoconf to create configure
AC_PREREQ([2.72])
AC_INIT([libffi],[3.5.0-rc0],[http://github.com/libffi/libffi/issues])
AC_INIT([libffi],[3.5.0-rc1],[http://github.com/libffi/libffi/issues])
AC_CONFIG_HEADERS([fficonfig.h])
FFI_VERSION_STRING="3.5.0-dev"
FFI_VERSION_STRING="3.5.0-rc1"
FFI_VERSION_NUMBER=30500
AC_SUBST(FFI_VERSION_STRING)
AC_SUBST(FFI_VERSION_NUMBER)

View File

@ -54,19 +54,6 @@ extern "C" {
#define @TARGET@
#endif
/* ---- Version API ------------------------------------------------------ */
#define FFI_VERSION_STRING "@FFI_VERSION_STRING@"
#define FFI_VERSION_NUMBER @FFI_VERSION_NUMBER@
#ifndef LIBFFI_ASM
/* Return a version string. */
const char *ffi_get_version (void);
/* Return the version as an unsigned long value: (x * 10000 + y * 100 + z) */
unsigned long ffi_get_version_number (void);
#endif
/* ---- System configuration information --------------------------------- */
/* If these change, update src/mips/ffitarget.h. */
@ -327,6 +314,19 @@ void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) __a
FFI_API
size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated));
/* ---- Version API ------------------------------------------------------ */
#define FFI_VERSION_STRING "@FFI_VERSION_STRING@"
#define FFI_VERSION_NUMBER @FFI_VERSION_NUMBER@
#ifndef LIBFFI_ASM
/* Return a version string. */
FFI_API const char *ffi_get_version (void);
/* Return the version as an unsigned long value: (x * 10000 + y * 100 + z) */
FFI_API unsigned long ffi_get_version_number (void);
#endif
/* ---- Definitions for closures ----------------------------------------- */
#if FFI_CLOSURES