zig/lib/std
Ryan Liptak 0168ed7bf1 rc compilation: Use MSVC includes if present, fallback to mingw
The include directories used when preprocessing .rc files are now separate from the target, and by default will use the system MSVC include paths if the MSVC + Windows SDK are present, otherwise it will fall back to the MinGW includes distributed with Zig. This default behavior can be overridden by the `-rcincludes` option (possible values: any (the default), msvc, gnu, or none).

This behavior is useful because Windows resource files may `#include` files that only exist with in the MSVC include dirs (e.g. in `<MSVC install directory>/atlmfc/include` which can contain other .rc files, images, icons, cursors, etc). So, by defaulting to the `any` behavior (MSVC if present, MinGW fallback), users will by default get behavior that is most-likely-to-work.

It also should be okay that the include directories used when compiling .rc files differ from the include directories used when compiling the main binary, since the .res format is not dependent on anything ABI-related. The only relevant differences would be things like `#define` constants being different values in the MinGW headers vs the MSVC headers, but any such differences would likely be a MinGW bug.
2023-09-17 03:09:58 -07:00
..
atomic std: Rename TailQueue to DoublyLinkedList 2023-08-27 20:57:46 -07:00
Build rc compilation: Use MSVC includes if present, fallback to mingw 2023-09-17 03:09:58 -07:00
c std.c.linux: Add getpw{nam,uid}() 2023-09-08 21:46:05 +03:00
compress
crypto std.crypto.aead: Consistent decryption tail and doc fixes (#16781) 2023-08-14 21:39:51 +02:00
dwarf compiler: move unions into InternPool 2023-08-22 13:54:14 -07:00
event
fmt re-enable test "fmt.parseFloat nan and inf" after llvm fix 2023-07-25 11:03:11 -07:00
fs fs tests: Skip UNC path types in Dir.rename tests 2023-09-14 16:30:41 +03:00
hash std/hash: perform iterative + smhasher tests at comptime 2023-09-02 16:58:03 +12:00
heap std: enable FailingAllocator to fail on resize 2023-09-06 19:06:32 +03:00
http std: Rename TailQueue to DoublyLinkedList 2023-08-27 20:57:46 -07:00
io Fix type mismatch for Reader.readIntoBoundedBytes (#16416) 2023-07-24 17:32:06 -07:00
json std.json: add fmt function (#17055) 2023-09-13 18:24:59 -04:00
math std.math.log_int: implement integer logarithm without using float math 2023-09-14 19:33:56 +00:00
mem mem: explicit dupe and dupeZ error on Allocator 2023-09-07 21:56:57 +03:00
meta
net std.net: Fix IPv6 address parsing for single digit 2023-09-06 11:14:24 +03:00
os std: add compile error when using std.os.getenv on the wasi target 2023-09-14 20:04:35 +03:00
rand Use builtin inference over @as where possible 2023-07-24 10:23:51 -07:00
sort
target
testing std: enable FailingAllocator to fail on resize 2023-09-06 19:06:32 +03:00
Thread Fix counting in SingleThreadedRwLock's tryLockShared (#16560) 2023-07-26 08:19:52 -05:00
time
tz
unicode
valgrind
zig ErrorBundle: rename addBundle to addBundleAsNotes, add addBundleAsRoots 2023-09-15 23:36:44 -07:00
array_hash_map.zig std.ArrayHashMap.reIndex also recomputes hashes (#17054) 2023-09-02 17:00:20 -04:00
array_list.zig std: enable FailingAllocator to fail on resize 2023-09-06 19:06:32 +03:00
ascii.zig
atomic.zig
base64.zig Optimize std.base64.standard.Encoder.encode 2023-08-29 16:00:31 -04:00
bit_set.zig
BitStack.zig std.json: Unify stringify and writeStream (#16405) 2023-07-21 19:56:46 -04:00
bounded_array.zig
buf_map.zig
buf_set.zig
Build.zig std.Build: check for native CPU when serializing CrossTarget 2023-08-16 18:05:18 -07:00
builtin.zig std.os.uefi: reorganize namespaces 2023-08-24 22:38:47 -07:00
c.zig Revert "std.c: exposing timer api" 2023-07-31 10:51:44 -07:00
child_process.zig Windows: Fix TooManyParentDirs handling for paths that shouldn't be cwd-relative 2023-08-11 18:58:40 -07:00
coff.zig std.coff: Fixed compile error. 2023-09-02 00:18:53 +02:00
compress.zig
comptime_string_map.zig ComptimeStringMap: Add version that takes an equality function 2023-09-14 11:03:15 -07:00
crypto.zig
cstr.zig
debug.zig Merge pull request #16824 from mikdusan/bsd 2023-08-17 12:14:30 -07:00
dwarf.zig std: remove some unused imports (#16710) 2023-08-06 15:18:50 -04:00
dynamic_library.zig Windows: Fix TooManyParentDirs handling for paths that shouldn't be cwd-relative 2023-08-11 18:58:40 -07:00
elf.zig std: remove some unused imports (#16710) 2023-08-06 15:18:50 -04:00
enums.zig
event.zig
fifo.zig std: remove some unused imports (#16710) 2023-08-06 15:18:50 -04:00
fmt.zig Make NaNs quiet by default and other NaN tidy-up (#16826) 2023-08-18 02:07:49 -04:00
fs.zig remove outdated error message in std.fs 2023-09-08 21:47:44 +03:00
hash.zig
hash_map.zig std: remove some unused imports (#16710) 2023-08-06 15:18:50 -04:00
heap.zig std: remove some unused imports (#16710) 2023-08-06 15:18:50 -04:00
http.zig Fix the http.Server test and add it to the set of tests in http.zig 2023-07-23 13:58:34 -07:00
Ini.zig
io.zig
json.zig std.json: add fmt function (#17055) 2023-09-13 18:24:59 -04:00
leb128.zig Use builtin inference over @as where possible 2023-07-24 10:23:51 -07:00
linked_list.zig std: Move TailQueue alias to correct namespace 2023-08-28 17:41:37 -07:00
log.zig
macho.zig macho: add helper for accessing tools array in LC_BUILD_VERSION cmd 2023-08-18 11:55:29 +02:00
math.zig std.math.log_int: implement integer logarithm without using float math 2023-09-14 19:33:56 +00:00
mem.zig mem: explicit Allocator.Error on concat and join 2023-09-13 13:52:05 +03:00
meta.zig compiler: move unions into InternPool 2023-08-22 13:54:14 -07:00
multi_array_list.zig
net.zig std.net: Fix IPv6 address parsing for single digit 2023-09-06 11:14:24 +03:00
once.zig
os.zig std: add compile error when using std.os.getenv on the wasi target 2023-09-14 20:04:35 +03:00
packed_int_array.zig
pdb.zig
priority_dequeue.zig
priority_queue.zig [priority_queue] Simplify sifting & fix edge case 2023-07-24 12:58:19 -07:00
process.zig std.process.totalSystemMemory: return correct error type on FreeBSD 2023-08-01 19:27:04 -07:00
Progress.zig std.Progress: add optional unit to progress indicator 2023-07-25 13:51:22 +01:00
rand.zig
RingBuffer.zig
segmented_list.zig
SemanticVersion.zig
simd.zig
sort.zig
start.zig Plan 9: add more features to std.os.plan9 2023-08-02 18:19:07 -04:00
start_windows_tls.zig
std.zig ComptimeStringMap: Add version that takes an equality function 2023-09-14 11:03:15 -07:00
tar.zig std.tar: add support for file path in pax attributes 2023-09-08 21:55:14 +03:00
target.zig std.target: mark helper functions inline 2023-08-03 09:37:10 -07:00
testing.zig std: enable FailingAllocator to fail on resize 2023-09-06 19:06:32 +03:00
Thread.zig Merge pull request #16622 from jacobly0/cbe-asm-compat 2023-07-31 15:34:32 -07:00
time.zig
treap.zig
tz.zig
unicode.zig std.json: Fix decoding of UTF-16 surrogate pairs (#16830) 2023-08-15 09:11:59 -04:00
Uri.zig std.Uri: Don't double-escape escaped query parameters (#16043) 2023-07-27 13:18:48 -04:00
valgrind.zig
wasm.zig
zig.zig