mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	Merge pull request #33848 from psnszsn/master
fix(build): musl libc build.zig
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -10,6 +10,8 @@ compile_commands.json | |||||||
| /.idea/ | /.idea/ | ||||||
|  |  | ||||||
| # Build/deps dir | # Build/deps dir | ||||||
|  | /.zig-cache/ | ||||||
|  | /zig-out/ | ||||||
| /.deps/ | /.deps/ | ||||||
| /tmp/ | /tmp/ | ||||||
| /.clangd/ | /.clangd/ | ||||||
|   | |||||||
| @@ -182,7 +182,7 @@ pub fn build(b: *std.Build) !void { | |||||||
|         .HAVE_FSEEKO = modernUnix, |         .HAVE_FSEEKO = modernUnix, | ||||||
|         .HAVE_LANGINFO_H = modernUnix, |         .HAVE_LANGINFO_H = modernUnix, | ||||||
|         .HAVE_NL_LANGINFO_CODESET = modernUnix, |         .HAVE_NL_LANGINFO_CODESET = modernUnix, | ||||||
|         .HAVE_NL_MSG_CAT_CNTR = isLinux, |         .HAVE_NL_MSG_CAT_CNTR = t.isGnuLibC(), | ||||||
|         .HAVE_PWD_FUNCS = modernUnix, |         .HAVE_PWD_FUNCS = modernUnix, | ||||||
|         .HAVE_READLINK = modernUnix, |         .HAVE_READLINK = modernUnix, | ||||||
|         .HAVE_STRNLEN = modernUnix, |         .HAVE_STRNLEN = modernUnix, | ||||||
| @@ -195,7 +195,7 @@ pub fn build(b: *std.Build) !void { | |||||||
|         .HAVE_SYS_UTSNAME_H = modernUnix, |         .HAVE_SYS_UTSNAME_H = modernUnix, | ||||||
|         .HAVE_SYS_WAIT_H = false, // unused |         .HAVE_SYS_WAIT_H = false, // unused | ||||||
|         .HAVE_TERMIOS_H = modernUnix, |         .HAVE_TERMIOS_H = modernUnix, | ||||||
|         .HAVE_WORKING_LIBINTL = isLinux, |         .HAVE_WORKING_LIBINTL = t.isGnuLibC(), | ||||||
|         .UNIX = modernUnix, |         .UNIX = modernUnix, | ||||||
|         .CASE_INSENSITIVE_FILENAME = tag.isDarwin() or tag == .windows, |         .CASE_INSENSITIVE_FILENAME = tag.isDarwin() or tag == .windows, | ||||||
|         .HAVE_SYS_UIO_H = modernUnix, |         .HAVE_SYS_UIO_H = modernUnix, | ||||||
| @@ -205,7 +205,7 @@ pub fn build(b: *std.Build) !void { | |||||||
|         .HAVE_BE64TOH = modernUnix and !tag.isDarwin(), |         .HAVE_BE64TOH = modernUnix and !tag.isDarwin(), | ||||||
|         .ORDER_BIG_ENDIAN = t.cpu.arch.endian() == .big, |         .ORDER_BIG_ENDIAN = t.cpu.arch.endian() == .big, | ||||||
|         .ENDIAN_INCLUDE_FILE = "endian.h", |         .ENDIAN_INCLUDE_FILE = "endian.h", | ||||||
|         .HAVE_EXECINFO_BACKTRACE = modernUnix, |         .HAVE_EXECINFO_BACKTRACE = modernUnix and !t.isMuslLibC(), | ||||||
|         .HAVE_BUILTIN_ADD_OVERFLOW = true, |         .HAVE_BUILTIN_ADD_OVERFLOW = true, | ||||||
|         .HAVE_WIMPLICIT_FALLTHROUGH_FLAG = true, |         .HAVE_WIMPLICIT_FALLTHROUGH_FLAG = true, | ||||||
|         .HAVE_BITSCANFORWARD64 = null, |         .HAVE_BITSCANFORWARD64 = null, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bfredl
					bfredl