link: introduce the concept of output mode and link mode

This commit is contained in:
Andrew Kelley
2020-04-29 18:14:15 -04:00
parent 28729efe29
commit f89dbe6c4e
4 changed files with 110 additions and 52 deletions

View File

@@ -404,6 +404,7 @@ pub const Target = struct {
};
pub const ObjectFormat = enum {
/// TODO Get rid of this one.
unknown,
coff,
elf,