Put the custom allocator in its own lib, as to lessen the difficulty to switch between libc's allocator and a custom one (#7)
This commit is contained in:
parent
713f0f0302
commit
cb7f3c3fdf
85 changed files with 1121 additions and 877 deletions
14
flake.nix
14
flake.nix
|
|
@ -15,8 +15,18 @@
|
|||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShell = pkgs.mkShell {
|
||||
packages = with pkgs; [clang valgrind gnumake readline.out readline.dev generic_c.packages.${system}.default llvmPackages.bintools];
|
||||
ASAN_OPTIONS="strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1";
|
||||
packages = with pkgs; [
|
||||
valgrind.dev
|
||||
clang
|
||||
valgrind
|
||||
gnumake
|
||||
readline.out
|
||||
readline.dev
|
||||
generic_c.packages.${system}.default
|
||||
llvmPackages.bintools
|
||||
];
|
||||
VALGRIND_INC_OPT = "${pkgs.valgrind.dev}/include";
|
||||
ASAN_OPTIONS = "strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1";
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue