huggingface / huggingface/candle

update rand

Open
#2,764 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

I can't compile to wasm due to another version of getrandom mixing it up. please update rand!

https://rust-random.github.io/book/update-0.9.html
https://github.com/rust-random/rand/blob/master/CHANGELOG.md

Other older dependencies
https://github.com/starkat99/half-rs/pull/123
https://github.com/briansmith/ring/issues/2341

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked rand 0.9 update guide and changelog, then inspect Candle's dependency declarations and wasm build path for rand and getrandom versions. Review the linked half-rs and ring references for related constraints. Done means Candle compiles to wasm without conflicting getrandom versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.