-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededt:featType: request of a new feature, functionality, enchancementType: request of a new feature, functionality, enchancement
Description
Per this:
nextclade/packages/nextclade/src/io/compression.rs
Lines 14 to 16 in d4174b1
| // NOTE: crates `bzip2`, `xz2` and `zstd` depend on corresponding C libraries and require libc in order to build. | |
| // libc is not present for `wasm32-unknown-unknown` target, so we disable these crates. | |
| // TODO: keep an eye on alternative crates that don't rely on C, and replace when they are stable enough. |
I found this on the bzip2 crate's README:
Since version 0.5.0, this crate also supports using libbz2-rs-sys, a drop-in compatible rust implementation of libbz2. With this feature enabled, cross-compilation should work like any other rust code, and no C toolchain is needed to compile this crate or its dependencies.
For example:
bzip2 = { version = "0.5.1", default-features = false, features = ["libbz2-rs-sys"] }Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededt:featType: request of a new feature, functionality, enchancementType: request of a new feature, functionality, enchancement