You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Alexander (Jira)" <ji...@apache.org> on 2022/06/24 08:04:00 UTC

[jira] [Updated] (AVRO-3543) Support wasm32 compilation target for Rust library

     [ https://issues.apache.org/jira/browse/AVRO-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander updated AVRO-3543:
----------------------------
    Description: 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.  (was: 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{}}}.)

> 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
>            Priority: Major
>
> 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 message was sent by Atlassian Jira
(v8.20.7#820007)