Zcu: don't tell linkers about exports if there are compile errors

In the best case, this is redundant work, because we aren't actually
going to emit a working binary this update. In the worst case, it causes
bugs because the linker may not have *seen* the thing being exported due
to the compile errors.

Resolves: #24417
8adabaa4edmlugg committed on 8/15/2025, 7:00:30 PMparentce2c939
3 files changedLine totals unavailable