add support to use zig as a linker driver
closes #243 I also added --grep to ./run_tests if you want to single out some specific tests
This commit is contained in:
@@ -527,3 +527,12 @@ int get_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
|
||||
}
|
||||
zig_unreachable();
|
||||
}
|
||||
|
||||
const char *target_o_file_ext(ZigTarget *target) {
|
||||
if (target->env_type == ZigLLVM_MSVC) {
|
||||
return ".obj";
|
||||
} else {
|
||||
return ".o";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user