0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std
Andrew Kelley 792bbfa301 Sema: fix memcpy alias safety incorrect math
Previously it was not multiplying by the element ABI size. Now, it uses
ptr_add instructions which do math based on the element type.
History 2023-04-25 11:23:41 -07:00
..
atomic update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Build Improvements to docs and text 2023-04-23 21:06:21 +03:00
c change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
compress Improvements to docs and text 2023-04-23 21:06:21 +03:00
crypto update @memcpy to require equal src and dest lens 2023-04-25 11:23:40 -07:00
dwarf wasm: Implement debug info for parameters 2022-05-09 18:51:46 +02:00
event update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
fmt enable more float-parsing tests 2023-03-25 14:09:00 +02:00
fs Improvements to docs and text 2023-04-23 21:06:21 +03:00
hash update @memcpy to require equal src and dest lens 2023-04-25 11:23:40 -07:00
heap change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
http fix HTTP server to handle a chunked transfer coding request 2023-04-24 15:36:35 -07:00
io std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
json std.json: support tuples 2023-03-21 15:01:45 +02:00
math change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
mem update @memcpy to require equal src and dest lens 2023-04-25 11:23:40 -07:00
meta Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
net std.net.StreamServer.Options: add reuse_port 2023-04-24 12:23:22 +03:00
os change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
rand cbe: enable CI for std tests 2023-04-21 16:36:10 -04:00
target std.target.riscv: fix baseline_rv32 missing feature "32bit" 2023-04-18 18:37:15 -07:00
testing std.mem.Allocator: allow shrink to fail 2022-11-29 23:30:38 -07:00
Thread std.Thread.Condition: optimize example 2023-04-18 18:38:52 -07:00
time std.time.epoch: fix issue in documentation 2021-12-16 19:08:58 -08:00
tz Support legacy TZ format, expose header struct to a potential writer 2022-01-01 12:47:08 +00:00
unicode update usages of @call 2022-12-13 13:14:20 +02:00
valgrind std.valgrind.callgrind: fix string type 2022-08-22 13:55:00 +03:00
zig update test cases for new memcpy/memset semantics 2023-04-25 11:23:41 -07:00
array_hash_map.zig change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
array_list.zig x86_64 backend: support @memset with slices 2023-04-25 11:23:41 -07:00
ascii.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
atomic.zig std: remove names from incorrectly named tests 2023-04-21 23:08:48 -04:00
base64.zig std.base64: don't overflow dest with padding 2023-03-23 22:52:15 +02:00
bit_set.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
bounded_array.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
buf_map.zig doc: fix minor grammar issues 2023-04-22 13:09:15 +03:00
buf_set.zig std.BufSet.clone: fix key ownership 2022-03-01 13:28:47 -05:00
Build.zig CI: more C backend test coverage 2023-04-15 10:33:08 -07:00
builtin.zig update @memcpy to require equal src and dest lens 2023-04-25 11:23:40 -07:00
c.zig std: child process API supports rusage data 2023-03-15 10:48:13 -07:00
child_process.zig std.process.Child: implement maxrss on Darwin 2023-03-25 03:20:50 +01:00
coff.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
compress.zig std.compress.zstd: renamed from std.compress.zstandard 2023-02-22 00:11:20 +11:00
comptime_string_map.zig Add doc comments for ComptimeStringMap 2023-04-22 13:55:30 +03:00
crypto.zig AEGIS MAC: add support for 128-bit tags (#15379) 2023-04-21 19:52:33 +00:00
cstr.zig std: restrict mem.span() and mem.len() to sentinel terminated pointers 2023-01-29 15:07:06 -05:00
debug.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
dwarf.zig fixes to the previous commit 2023-04-20 15:17:07 -07:00
dynamic_library.zig DynLib.lookup: cast the pointer to the correct alignment 2023-04-15 23:23:29 -04:00
elf.zig elf: add helpers for extracting type and bind from symbol def 2023-04-23 13:50:24 +02:00
enums.zig std: fix uses of comptime blocks in non-inline functions 2023-04-18 19:51:18 -07:00
event.zig std, compiler-rt: remove test names where applicable 2021-09-01 17:54:06 -07:00
fifo.zig change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
fmt.zig Add @inComptime builtin 2023-04-23 13:16:42 -07:00
fs.zig std: further windows resource fix 2023-04-25 10:37:49 -07:00
hash.zig std: remove names from incorrectly named tests 2023-04-21 23:08:48 -04:00
hash_map.zig change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
heap.zig std: GPA deinit return an enum instead of a bool 2023-04-22 14:09:44 +03:00
http.zig move the HTTP test to lib/std/http/test.zig 2023-04-21 09:51:23 +09:00
Ini.zig add std.Ini for basic .ini file parsing 2023-01-11 15:39:48 -08:00
io.zig std: remove temporary workarounds for stage2_x86_64 2023-03-25 21:32:55 -04:00
json.zig std.json: allow returning custom errors from custom stringify 2023-04-07 15:01:09 +03:00
leb128.zig update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
linked_list.zig chore: Remove unused constants 2022-09-11 23:18:43 -04:00
log.zig std: collect all options under one namespace 2023-01-05 02:31:29 -07:00
macho.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
math.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
mem.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
meta.zig std: remove names from incorrectly named tests 2023-04-21 23:08:48 -04:00
multi_array_list.zig change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
net.zig change semantics of @memcpy and @memset 2023-04-25 11:23:40 -07:00
once.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
os.zig Sema: fix memcpy alias safety incorrect math 2023-04-25 11:23:41 -07:00
packed_int_array.zig doc: fix minor grammar issues 2023-04-22 13:09:15 +03:00
pdb.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_dequeue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
priority_queue.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
process.zig std.process: further totalSystemMemory portage 2023-04-24 05:49:48 +03:00
Progress.zig std.Progress.Node: add a setName method 2023-03-15 10:48:14 -07:00
rand.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
RingBuffer.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
segmented_list.zig behavior: add test coverage for slicing zero length array field of struct 2022-12-10 12:33:17 +01:00
SemanticVersion.zig api(std.ascii): remove deprecated decls 2022-12-09 21:57:17 +01:00
simd.zig add wasm-simd support for suggestVectorSizeForCpu (#14992) 2023-03-20 17:45:12 +01:00
sort.zig naming: mid for index and mid_item for item 2023-03-21 15:12:13 +02:00
start.zig wasm: no longer use simplified start.zig 2023-04-14 15:25:42 +02:00
start_windows_tls.zig cbe: fixes for tls, support for not linking libc, and enabling tests 2023-01-29 15:04:13 -05:00
std.zig add BoundedArrayAligned (#14580) 2023-03-17 17:50:25 +01:00
tar.zig std.tar: make sub dirs + trim spaces 2023-04-23 20:39:28 +03:00
target.zig add c_char type 2023-04-13 02:47:16 -04:00
testing.zig update std lib and compiler sources to new for loop syntax 2023-02-18 19:17:21 -07:00
Thread.zig std: remove names from incorrectly named tests 2023-04-21 23:08:48 -04:00
time.zig std.time: add microTimestamp() (#13327) 2022-11-02 23:20:19 +01:00
treap.zig treap: zig fmt 2022-04-15 17:01:01 -05:00
tz.zig std.tz: fix function returning pointer to local variable 2022-06-17 21:04:21 +03:00
unicode.zig Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
Uri.zig Improvements to docs and text 2023-04-23 21:06:21 +03:00
valgrind.zig LLVM: add valgrind integration for x86 and aarch64 2022-11-19 19:32:45 -07:00
wasm.zig wasm: add atomics opcodes and refactoring 2023-03-18 20:13:30 +01:00
zig.zig integrate the build runner and the compiler server 2023-03-15 10:48:13 -07:00