feat(color-module): 更新 getrandom 依赖版本并移除构建脚本中的 RUSTFLAGS

This commit is contained in:
徐涛
2026-01-15 09:09:37 +08:00
parent b20fd30787
commit b7ef02e7c3
3 changed files with 13 additions and 4 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/bash
RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack build --release --target web -d ../color_functions
wasm-pack build --release --target web -d ../color_functions