mirror of
https://github.com/hannobraun/Fornjot
synced 2025-06-21 18:58:57 +00:00
Update comment
This commit is contained in:
parent
40539a2551
commit
f2fb7a16cd
@ -38,8 +38,13 @@ features = ["png", "jpeg"]
|
|||||||
version = "25.0.0"
|
version = "25.0.0"
|
||||||
features = ["webgl"]
|
features = ["webgl"]
|
||||||
|
|
||||||
# We don't depend on `getrandom` directly, but we need this to enable the `js`
|
# We don't depend on `getrandom` directly, but we need this to enable the
|
||||||
# feature when cross-compiling to WASM. Otherwise, `getrandom` will not build.
|
# `wasm_js` feature when cross-compiling to WASM. Otherwise, `getrandom` will
|
||||||
|
# not build.
|
||||||
|
#
|
||||||
|
# Please note that this alone is not enough to make this workaround work. To
|
||||||
|
# make the selected backend available, `--cfg` flag needs to be passed to rustc.
|
||||||
|
# We do this in `tools/cross-compiler/src/main.rs`.
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
|
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
|
||||||
version = "0.3.2"
|
version = "0.3.2"
|
||||||
features = ["wasm_js"]
|
features = ["wasm_js"]
|
||||||
|
Loading…
Reference in New Issue
Block a user