aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Target/wasm.zig
AgeCommit message (Collapse)Author
2025-04-04std.Target: Update CPU models/features for LLVM 20.Alex Rønne Petersen
Closes #21818.
2025-01-22wasm: Add a nontrapping_bulk_memory_len0 feature.Alex Rønne Petersen
This will mainly be used when targeting our wasm2c implementation which has no problem with zero-length bulk memory operations, as a non-standard extension.
2025-01-22std.Target: Define and use lime1 as the baseline CPU model for WebAssembly.Alex Rønne Petersen
See: https://github.com/WebAssembly/tool-conventions/pull/235 This is not *quite* using the same features as the spec'd lime1 model because LLVM 19 doesn't have the level of feature granularity that we need for that. This will be fixed once we upgrade to LLVM 20. Part of #21818.
2024-11-25refactor `update_cpu_features.zig`David Rubin
Most of this commit is whitespace changes, moving to use RLS for assigning the `CpuModel`
2024-09-19std.Target: Update CPU models/features for LLVM 19.Alex Rønne Petersen
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
The compiler actually doesn't need any functional changes for this: Sema does reification based on the tag indices of `std.builtin.Type` already! So, no zig1.wasm update is necessary. This change is necessary to disallow name clashes between fields and decls on a type, which is a prerequisite of #9938.
2024-08-12std.Target: Rename feature_set_fns to FeatureSetFnsLinus Groh
From https://ziglang.org/documentation/master/#Names: > If `x` is callable, and `x`'s return type is `type`, then `x` should > be `TitleCase`.
2024-05-08update CPU features to LLVM 18Andrew Kelley
release/18.x branch, commit 78b99c73ee4b96fe9ce0e294d4632326afb2db42
2024-01-01std.Target: flattenAndrew Kelley