From 280ced66eb712f5c74835b10fa6ba0bd915ee96b Mon Sep 17 00:00:00 2001 From: Alex Rønne Petersen Date: Fri, 29 Nov 2024 01:31:49 +0100 Subject: std.Target: Define and use lime1 as the baseline CPU model for WebAssembly. 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. --- src/Compilation.zig | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/Compilation.zig b/src/Compilation.zig index b85033264a..ac8fb8a59b 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -4150,14 +4150,9 @@ fn workerDocsWasmFallible(comp: *Compilation, prog_node: std.Progress.Node) anye .os_tag = .freestanding, .cpu_features_add = std.Target.wasm.featureSet(&.{ .atomics, - .bulk_memory, // .extended_const, not supported by Safari - .multivalue, - .mutable_globals, - .nontrapping_fptoint, .reference_types, //.relaxed_simd, not supported by Firefox or Safari - .sign_ext, // observed to cause Error occured during wast conversion : // Unknown operator: 0xfd058 in Firefox 117 //.simd128, -- cgit v1.2.3