DragonFlyBSD support

This commit is contained in:
Tse
2019-10-23 01:06:35 +03:00
committed by Andrew Kelley
parent 7c73503451
commit 33cc204481
30 changed files with 807 additions and 57 deletions

View File

@@ -1272,7 +1272,7 @@ pub const DebugInfo = switch (builtin.os) {
sect_contribs: []pdb.SectionContribEntry,
modules: []Module,
},
.linux, .freebsd, .netbsd => DwarfInfo,
.linux, .freebsd, .netbsd, .dragonfly => DwarfInfo,
else => @compileError("Unsupported OS"),
};