mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
perf(napi): enable Wasm 128bit SIMD Extension (#27179)
This was enabled in Rolldown (https://github.com/rolldown/rolldown/pull/4484), but wasn't enabled here. Technically this is a breaking change as this will make the wasm not run in older browsers, but I think it's fine. I noticed this because this was pointed out in https://x.com/_pi0_/status/2104617588550705201.
This commit is contained in:
1 file changed
+6
@@ -21,6 +21,12 @@ rustflags = ["-C", "target-feature=+crt-static"]
|
||||
[target.aarch64-pc-windows-msvc]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
|
||||
[target.wasm32-wasip1]
|
||||
rustflags = ["-C", "target-feature=+simd128"]
|
||||
|
||||
[target.wasm32-wasip1-threads]
|
||||
rustflags = ["-C", "target-feature=+simd128"]
|
||||
|
||||
[target.'cfg(target_os = "windows")']
|
||||
rustflags = [
|
||||
# Disables linking against the default Universal C Runtime (libucrt.lib). This prevents conflicts if another CRT library is linked manually.
|
||||
|
||||
Reference in new issue
Block a user