We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954e689 commit 5fae47bCopy full SHA for 5fae47b
1 file changed
flake.nix
@@ -16,10 +16,12 @@
16
# https://docs.rs/getrandom/0.3.3/getrandom/#webassembly-support
17
RUSTFLAGS = "--cfg getrandom_backend=\"wasm_js\"";
18
19
- # gcc is default
+ # With gcc (default), the WASM build fails silently
20
+ # at runtime there is an error message similar to https://github.com/DioxusLabs/dioxus/discussions/3807.
21
+ # Maybe this can be resolved with dioxus 0.7.0 due to https://github.com/DioxusLabs/dioxus/issues/4023.
22
CC_wasm32_unknown_unknown = "${pkgs.llvmPackages.clang-unwrapped}/bin/clang";
23
- # include path to standard library is missing by default
24
+ # Include path to standard library is missing by default.
25
CFLAGS_wasm32_unknown_unknown = "-I${pkgs.llvmPackages.clang}/resource-root/include/";
26
};
27
0 commit comments