0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

fix undefined behavior triggered by fn inline test

LLVM destroys the string that we use to test if LLVM deleted the
inlined function.

Also fixed forgetting to initialize a buffer in std lib path detection.
This commit is contained in:
Andrew Kelley 2018-04-13 11:10:17 -04:00
commit 1999f0daad
2 changed files with 2 additions and 1 deletions