1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/src/libexpr-tests
John Ericson bd42092873
Use less c_str() in the evaluator, and other cleanups
It is better to avoid null termination for performance and memory
safety, wherever possible.

These are good cleanups extracted from the Pascal String work that we
can land by themselves first, shrinking the diff in that PR.

Co-Authored-By: Aspen Smith <root@gws.fyi>
Co-Authored-By: Sergei Zimmerman <sergei@zimmerman.foo>
2025-11-03 15:14:50 +03:00
..
data Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
pch libexpr-tests: Improve compile times with PCH 2025-08-17 00:56:54 +03:00
value Use less c_str() in the evaluator, and other cleanups 2025-11-03 15:14:50 +03:00
.version Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
derived-path.cc treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
error_traces.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
eval.cc libexpr-tests: Add unit tests for broken readDir /. for pure eval 2025-09-30 03:16:35 +03:00
json.cc Re-introduce mkStringNoCopy (revised) 2025-09-02 00:16:06 +03:00
main.cc libexpr-tests: Enable when test setup for building succeeds 2025-09-19 23:39:00 +02:00
meson.build meson: Simplify asan-options handling even more 2025-10-12 19:16:06 +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: Document and verify NIX_ERR_KEY behavior 2025-09-20 00:13:50 +02:00
nix_api_external.cc Separate internal from non-internal unit tests of the C API 2025-09-03 22:50:42 +02:00
nix_api_value.cc C API: Add lazy attribute value and list item accessors 2025-09-19 23:39:00 +02:00
nix_api_value_internal.cc Separate internal from non-internal unit tests of the C API 2025-09-03 22:50:42 +02:00
package.nix meson: Simplify asan-options handling even more 2025-10-12 19:16:06 +03:00
primops.cc safer interface for ExprLambda's formals 2025-10-31 16:54:59 +01:00
search-path.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
trivial.cc libexpr: Do not overflow heap buffer when there are too many formal arguments 2025-11-01 12:53:53 +03:00