[
https://issues.apache.org/jira/browse/AVRO-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558397#comment-17558397
]
ASF subversion and git services commented on AVRO-3543:
-------------------------------------------------------
Commit ca278f93ad4b6568cb02eca1d2f1c7caf502f4f3 in avro's branch
refs/heads/branch-1.11 from Alexander Galibey
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=ca278f93a ]
AVRO-3543: Support wasm32 compilation target for Rust library (#1731)
AVRO-3543: Support wasm32 compilation target
AVRO-3543: Revert random uuid in readme file
AVRO-3543: Explicitly declare the getrandom features depending on the target
platform
AVRO-3543: On wasm32 also use "js" feature of getrandom.
AVRO-3543: Extend Rust CI to also test build on wasm32-unknown-unknown
AVRO-3543: Fix the syntax for 'if' statement
AVRO-3543: Remove dependency on uuid 'v4' feature
AVRO-3543: AVRO-3543: Use quad-rand when building for wasm32-unknown-unknown
(cherry picked from commit a8821d3ddd7e86d9567e48f0bc6387dcc0214c66)
> 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
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)