fix race conditions in self-hosted compiler; add test

* fix race condition in std.event.Channel deinit
 * add support to zig build for --no-rosegment
 * add passing self-hosted compare-output test for calling a function
 * put a global lock on LLD linking because it's not thread safe
02713e8d8aAndrew Kelley committed on 7/25/2018, 1:28:54 AMparentadefd1a
6 files changedLine totals unavailable