standard library integrates with knowledge of stripped debug info

This commit is contained in:
Andrew Kelley
2019-06-14 18:45:41 -04:00
parent 362c79140f
commit 7c5ceb0c4c
4 changed files with 20 additions and 5 deletions

View File

@@ -1585,3 +1585,7 @@ void target_libc_enum(size_t index, ZigTarget *out_target) {
out_target->vendor = ZigLLVM_UnknownVendor;
out_target->is_native = false;
}
bool target_has_debug_info(const ZigTarget *target) {
return !target_is_wasm(target);
}