aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-07 00:52:02 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-26 22:00:49 +0200
commit059f18855f18f9dd76f74031381e04dd131da528 (patch)
tree991fdc0561ccf55da992a7bd8de5ee8c37eacd09 /test/behavior/struct.zig
parent8818dc62131979cb29efe7a9f2a2ebd17583cd4a (diff)
downloadzig-059f18855f18f9dd76f74031381e04dd131da528.tar.gz
zig-059f18855f18f9dd76f74031381e04dd131da528.zip
std.Target: Make DynamicLinker.standard() much stricter.
Its semantics are now documented in terms of DynamicLinker.kind(os.tag). The idea here is two-fold: * The term "standard" actually means something; we shouldn't return a valid dynamic linker path for a triple for which it hasn't *actually* been standardized. That's just incorrect. For example, previously, this function would happily return a path for x86_64-linux-androideabi, csky-macos-gnu, or aarch64-hurd-msvc, and other such obvious nonsense. * Callers that use the return value from this function to do host probing (such as std.zig.system.detectAbiAndDynamicLinker()) can now do so with greater confidence because DynamicLinker.standard() will eagerly reject nonsensical target triples.
Diffstat (limited to 'test/behavior/struct.zig')
0 files changed, 0 insertions, 0 deletions