Odonno / surrealdb-migrations

An awesome SurrealDB migration tool, with a user-friendly CLI and a versatile Rust library that enables seamless integration into any project.
https://crates.io/crates/surrealdb-migrations
MIT License
210 stars 16 forks source link

Fix release wasm32-wasi #28

Open Odonno opened 1 year ago

Odonno commented 1 year ago

Build failed on release wasm32-wasi, see https://github.com/Odonno/surrealdb-migrations/actions/runs/5078992279/jobs/9125022610

error[E0432]: unresolved import `super::sysrand_chunk`
   --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/rand.rs:306:16
    |
306 |     use super::sysrand_chunk::chunk;
    |                ^^^^^^^^^^^^^ could not find `sysrand_chunk` in `super`

   Compiling password-hash v0.5.0
For more information about this error, try `rustc --explain E0432`.
Odonno commented 1 year ago

https://github.com/surrealdb/surrealdb/issues/2051

apepkuss commented 1 year ago

Run into same issue!