1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-11 03:21:03 +01:00
nix/src/libexpr-c
Sergei Zimmerman 7dfad3dba7
libexpr: Fix tests on 32 bit systems
This test is now pointless and the comment is outdated. Also the test fails
on 32 bit systems with:

../nix_api_value_internal.cc:22: Failure
Expected equality of these values:
  sizeof(nix::Value)
    Which is: 12
  sizeof(nix_value)
    Which is: 8

It just happeneded to work because Value is 16 bytes and nix_value was also 16 bytes.

Also get rid of a pointless inline in new_nix_value, since it's already static and
inline there does nothing.
2025-11-28 00:35:56 +03:00
..
.version Mesonify other external API 2024-07-02 09:23:24 -04:00
meson.build meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
nix_api_expr.cc c api: shovel EvalMemory * into nix_value 2025-11-21 21:26:23 +01:00
nix_api_expr.h doc: Improve libexpr-c docs 2025-10-28 17:57:15 +01:00
nix_api_expr_internal.h c api: shovel EvalMemory * into nix_value 2025-11-21 21:26:23 +01:00
nix_api_external.cc More extern "C" for FFI 2025-09-03 22:50:42 +02:00
nix_api_external.h doc: Improve libexpr-c docs 2025-10-28 17:57:15 +01:00
nix_api_value.cc libexpr: Fix tests on 32 bit systems 2025-11-28 00:35:56 +03:00
nix_api_value.h doc: Improve libexpr-c docs 2025-10-28 17:57:15 +01:00
package.nix Write just ./.version on all components 2025-02-18 11:41:35 +01:00