mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Default wasm-lib prefix to empty
This commit is contained in:
parent
327abdba0b
commit
723aea8369
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user