aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Target.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-02 08:15:19 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-03 09:44:58 +0200
commit56b0c7bd2f5936c17571e878f835cf0d542ca1fd (patch)
tree0c4fac1623366d112d47a07d28a0f02fca9c718d /lib/std/Target.zig
parent8060fad4250d0157ac412f95c76511770e1eb097 (diff)
downloadzig-56b0c7bd2f5936c17571e878f835cf0d542ca1fd.tar.gz
zig-56b0c7bd2f5936c17571e878f835cf0d542ca1fd.zip
std.zig.system: Force disable the small_data feature for hexagon.
This works around the fact that LLVM and LLD both have broken support for the small data area, yet the feature is on by default for all Hexagon CPUs. I want to eventually replace this hack with a flag in update_cpu_features.zig for marking features that should always be off by default and not be accessible to users. That way, the compiler will have full control over them.
Diffstat (limited to 'lib/std/Target.zig')
0 files changed, 0 insertions, 0 deletions