aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/Compile.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-09-30 18:11:27 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-10-03 14:55:17 -0700
commitd8540dd7084b225566e67d60dafe0566309a8d51 (patch)
tree6387dfdf54474d525a062d44aac86baf6e6f587a /lib/std/Build/Step/Compile.zig
parent4df7f7c86a0a105b5d3764121f259a39487a6c8a (diff)
downloadzig-d8540dd7084b225566e67d60dafe0566309a8d51.tar.gz
zig-d8540dd7084b225566e67d60dafe0566309a8d51.zip
std: add type-erased reader; base GenericReader on it
The idea here is to avoid code bloat by having only one actual io.Reader implementation, which is type erased, and then implement a GenericReader that preserves type information on top of that as thin glue code. The strategy here is for that glue code to `@errSetCast` the result of the type-erased reader functions, however, while trying to do that I ran into #17343.
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
0 files changed, 0 insertions, 0 deletions