circles/src/app/.cargo/config.toml
2025-06-19 05:17:14 +03:00

6 lines
310 B
TOML

# This configuration is picked up by Cargo when building the `circles-app` crate.
# It sets the required RUSTFLAGS to enable the JavaScript backend for the `getrandom` crate,
# which is necessary for WebAssembly compilation.
[target.wasm32-unknown-unknown]
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']