We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cdylib
linera-wasmer
1 parent a47b776 commit 1a8708eCopy full SHA for 1a8708e
lib/api/Cargo.toml
@@ -21,6 +21,9 @@ version = "4.4.0-linera.6"
21
# JavaScript host.
22
#####
23
24
+[lib]
25
+crate-type = ["cdylib", "lib"]
26
+
27
# Shared dependencies.
28
[dependencies]
29
# - Mandatory shared dependencies.
lib/api/src/lib.rs
@@ -20,7 +20,6 @@
20
clippy::use_self
)]
#![allow(deprecated_cfg_attr_crate_type_name)]
-#![cfg_attr(feature = "js", crate_type = "cdylib")]
//! [`Wasmer`](https://wasmer.io/) is the most popular
//! [WebAssembly](https://webassembly.org/) runtime for Rust. It supports
0 commit comments