0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test
Andrew Kelley d5e21a4f1a std: remove meta.trait
In general, I don't like the idea of std.meta.trait, and so I am
providing some guidance by deleting the entire namespace from the
standard library and compiler codebase.

My main criticism is that it's overcomplicated machinery that bloats
compile times and is ultimately unnecessary given the existence of Zig's
strong type system and reference traces.

Users who want this can create a third party package that provides this
functionality.

closes #18051
History 2023-11-22 13:24:27 -05:00
..
behavior std: remove meta.trait 2023-11-22 13:24:27 -05:00
c_abi test: update remaining code to fix 'var is never mutated' errors 2023-11-19 09:57:04 +00:00
cases std: remove meta.trait 2023-11-22 13:24:27 -05:00
link test: update remaining code to fix 'var is never mutated' errors 2023-11-19 09:57:04 +00:00
src test: update remaining code to fix 'var is never mutated' errors 2023-11-19 09:57:04 +00:00
standalone test: update remaining code to fix 'var is never mutated' errors 2023-11-19 09:57:04 +00:00
assemble_and_link.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
behavior.zig split export behavior test into export_keyword and export_builtin 2023-10-27 12:45:04 -07:00
cases.zig llvm: fix data layout calculation for experimental llvm targets 2023-08-01 19:20:22 -07:00
cbe.zig Move duplicate field detection for struct init expressions into AstGen 2023-11-16 14:38:16 +00:00
compare_output.zig test: update remaining code to fix 'var is never mutated' errors 2023-11-19 09:57:04 +00:00
compile_errors.zig give modules friendly names for error reporting 2023-10-08 20:58:04 -07:00
gen_h.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
link.zig test/link: spawn ELF and MachO tests from the same root test/link/link.zig 2023-11-10 13:44:43 +01:00
llvm_targets.zig llvm: fix data layout calculation for experimental llvm targets 2023-08-01 19:20:22 -07:00
nvptx.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
run_translated_c.zig tests: translate-c and run-translated-c to the test harness 2023-10-17 11:55:17 +03:00
stack_traces.zig zig fmt: fix extra whitespace with multiline strings 2022-12-17 00:24:58 +02:00
standalone.zig sema: fixup underflows during struct / ptr array init when using -fstrip 2023-11-12 18:22:57 -05:00
tests.zig zig init: also create a build.zig.zon 2023-11-20 23:30:51 -07:00
translate_c.zig translate-c: translate 80/128-bit long double literals 2023-11-21 14:14:01 +02:00