diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-10-24 01:06:03 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-10-24 01:14:52 -0400 |
| commit | 60cd11bd4b48e4dfdf11d1f25cb1ee842a49ee1d (patch) | |
| tree | 457ea0157f0f42dccf905593426154be8682812b /lib/std/array_list.zig | |
| parent | 8591731f2b938b2b55b05181d5ec0e27f79c86fa (diff) | |
| download | zig-60cd11bd4b48e4dfdf11d1f25cb1ee842a49ee1d.tar.gz zig-60cd11bd4b48e4dfdf11d1f25cb1ee842a49ee1d.zip | |
get rid of std.os.foo.is_the_target
It had the downside of running all the comptime blocks and resolving
all the usingnamespaces of each system, when just trying to discover if
the current system is a particular one.
For Darwin, where it's nice to use `std.Target.current.isDarwin()`, this
demonstrates the utility that #425 would provide.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
