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

@@ -0,0 +1,5 @@
[build]
rustflags = ["--cfg", "getrandom_backend=\"wasm_js\""]
[target.wasm32-unknown-unknown]
rustflags = ["--cfg", "getrandom_backend=\"wasm_js\""]