Alexander created AVRO-3543:
-------------------------------

             Summary: Support wasm32 compilation target for Rust library
                 Key: AVRO-3543
                 URL: https://issues.apache.org/jira/browse/AVRO-3543
             Project: Apache Avro
          Issue Type: Improvement
          Components: rust
            Reporter: Alexander


At this moment, due to dependency on {{getrandom}} crate, the Rust library 
can't compile for WebAssembly ({{{}wasm32-unknown-unknown{}}} target). There is 
a workaround for environments containing JavaScript 
[https://docs.rs/getrandom/0.2.7/getrandom/#webassembly-support] but for 
others, it can't be used.
This PR replaces the usage of random generating for {{wasm32}} with the one 
that supports {{{}wasm32{}}}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to