Alexandre Bury

Results 285 comments of Alexandre Bury

Do you have that target installed? `rustup target add wasm32-unknown-unknown`

And you do have `clang` installed as well? What if you add `-vv` to the cargo build command? EDIT: looks like it relies on clang-8 at least: https://github.com/alexcrichton/cc-rs/issues/378 What is...

Looks possibly related to this? https://stackoverflow.com/questions/49628272/osx-compile-to-webassembly-with-llc-llc-error-unable-to-get-target-for-w https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903110 (for Debian, but the idea might be the same) Basically there's a possibility your installed LLVM is not built with wasm support. I...

Are you running this on a m1 MacBook? Is this relevant? https://github.com/rust-bitcoin/rust-secp256k1/issues/283#issuecomment-891441645 (The next comment however hints that it may not be a solution for everyone)

Published zstd 0.10.1. We can start documenting this maybe in this github's project wiki. EDIT: added this page: https://github.com/gyscos/zstd-rs/wiki/Compile-for-WASM

Hi! Yes, the version was yanked and replaced by 0.11.0. The new feature-based inclusion of the zdict_training code happened to break backward compatibility, and required a semver bump.

Hi, and thanks for the report! This sounds like a bug indeed. Do you happen to have the corrupted file that causes this issue?

Happy to help! Just published `zstd=0.7.0` with the recent changes.

Good idea! Will have a look.

I did find `ZSTD_copy{C,D}Ctx`, but I'm not sure these include the current encoder state. The internal documentation includes: > Only works during stage ZSTDcs_init (i.e. after creation, but before first...