mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
commit
aa5ff867a2
@ -2012,7 +2012,8 @@ pub fn hasAsmExt(filename: []const u8) bool {
|
|||||||
pub fn hasSharedLibraryExt(filename: []const u8) bool {
|
pub fn hasSharedLibraryExt(filename: []const u8) bool {
|
||||||
if (mem.endsWith(u8, filename, ".so") or
|
if (mem.endsWith(u8, filename, ".so") or
|
||||||
mem.endsWith(u8, filename, ".dll") or
|
mem.endsWith(u8, filename, ".dll") or
|
||||||
mem.endsWith(u8, filename, ".dylib"))
|
mem.endsWith(u8, filename, ".dylib") or
|
||||||
|
mem.endsWith(u8, filename, ".tbd"))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -221,6 +221,7 @@ const usage_build_generic =
|
|||||||
\\ .so ELF shared object (dynamic link)
|
\\ .so ELF shared object (dynamic link)
|
||||||
\\ .dll Windows Dynamic Link Library
|
\\ .dll Windows Dynamic Link Library
|
||||||
\\ .dylib MACH-O (macOS) dynamic library
|
\\ .dylib MACH-O (macOS) dynamic library
|
||||||
|
\\ .tbd (macOS) text-based dylib definition
|
||||||
\\ .s Target-specific assembly source code
|
\\ .s Target-specific assembly source code
|
||||||
\\ .S Assembly with C preprocessor (requires LLVM extensions)
|
\\ .S Assembly with C preprocessor (requires LLVM extensions)
|
||||||
\\ .c C source code (requires LLVM extensions)
|
\\ .c C source code (requires LLVM extensions)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user