Default wasm-lib prefix to empty

This commit is contained in:
Benjamin Feng 2019-07-31 22:07:17 -05:00
parent 327abdba0b
commit 723aea8369

View File

@ -1119,6 +1119,9 @@ pub const Target = union(enum) {
}
pub fn libPrefix(self: Target) []const u8 {
if (self.isWasm()) {
return "";
}
switch (self.getAbi()) {
.msvc => return "",
else => return "lib",