Skip to content

Commit 1a8708e

Browse files
committed
Always build cdylib of linera-wasmer crate
The feature-based selection of the crate type is no longer supported.
1 parent a47b776 commit 1a8708e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/api/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ version = "4.4.0-linera.6"
2121
# JavaScript host.
2222
#####
2323

24+
[lib]
25+
crate-type = ["cdylib", "lib"]
26+
2427
# Shared dependencies.
2528
[dependencies]
2629
# - Mandatory shared dependencies.

lib/api/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
clippy::use_self
2121
)]
2222
#![allow(deprecated_cfg_attr_crate_type_name)]
23-
#![cfg_attr(feature = "js", crate_type = "cdylib")]
2423

2524
//! [`Wasmer`](https://wasmer.io/) is the most popular
2625
//! [WebAssembly](https://webassembly.org/) runtime for Rust. It supports

0 commit comments

Comments
 (0)