You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not ideal, but it does provide two things:
1. It fixes bizarre linker errors about missing `sancov` symbols.
2. It allows LLVM to do inlining that it otherwise refuses to do. For some
reason, when sanitizers are enabled, LLVM refuses to inline across codegen
units. This is a problem because trivial methods like `Vec::len` won't be
inlined, resulting in 100x slowdowns.
`cargo fuzz` already restricts its builds to a single codegen unit, so we might
as well do the same thing in CI here.
0 commit comments