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 a0bb145 commit 48517b4Copy full SHA for 48517b4
Cargo.toml
@@ -7,6 +7,10 @@ edition = "2021"
7
crate-type = ["cdylib"]
8
9
[[example]]
10
+# crate-type can't be (at the moment) be overriden for specific targets
11
+# src/wasm_lib.rs forwards to src/lib.rs so that we can change from cdylib
12
+# (that is needed while compiling natively) to staticlib (needed since the
13
+# actual linking will be done via emcc
14
name = "rusty_quack"
15
path = "src/wasm_lib.rs"
16
crate-type = ["staticlib"]
0 commit comments