ElementsProject / ElementsProject/elements-miniscript

wasm-pack: crate-type must be cdylib to compile to wasm

Open
#38 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
15
Forks
17
PR merge metrics
No merged PRs in 30d

Description

```sh
$ wasm-pack build --target web .
Error: crate-type must be cdylib to compile to wasm32-unknown-unknown. Add the following to your Cargo.toml file:

[lib]
crate-type = ["cdylib", "rlib"]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.