makeBinaryWrapper: Disable sanitizers by default outside of tests
Although sanitizers can catch and prevent undefined behaviour during runtime, it has a significant impact on performance. They also cause issues on macOS where they can make compilation fail. The future goal is to instead utilize static analysis to prevent undefined behaviour as makeBinaryWrapper evolves.
This commit is contained in:
parent
228d451e03
commit
d5435990b0
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ with pkgs;
|
|||
in
|
||||
lib.makeOverridable f {
|
||||
cc = stdenv.cc;
|
||||
sanitizers = [ "undefined" "address" ];
|
||||
sanitizers = [ ];
|
||||
};
|
||||
|
||||
makeModulesClosure = { kernel, firmware, rootModules, allowMissing ? false }:
|
||||
|
|
Loading…
Reference in a new issue