wasm 로 build 하고 testing 할 수 있는 도구
Ubuntu
usual
Rust를 WebAssembly로 컴파일하기
여러분이 Rust 코드를 가지고 있다면 WebAssembly로 컴파일 할 수 있습니다. 이 튜토리얼은 Rust 프로젝트를 컴파일하여 기존 웹 애플리케이션에서 사용하기 위해 알아야 할 모든 것을 설명합니다. Rust와 WebAssembly를 위한 두가지 주요 사용 사례가 있습니다. 어플리케이션 전체를 만드는것 - Rust기반 Web app 만들기 어플리케이션의 일부를 만드는것 - Rust를 기존에 존재하는 JavaScript frontend에서 사용하는것 당분간, Rust 팀은 후자의 경우에 초점을 맞출 것입니다.그래서 여기서는 두번째 내용에 대해 다루겠습니다.
https://developer.mozilla.org/ko/docs/WebAssembly/Rust_to_wasm
ubuntu
Failed to run custom build command for `openssl-sys v0.9.24` · Issue #51 · koute/cargo-web
You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or window. Reload to refresh your session. Reload to refresh your session.
https://github.com/koute/cargo-web/issues/51
wasm-pack
To install wasm-pack, if you are running a *nix system (Unix, Linux, MacOS), run the following in your terminal, then follow the onscreen instructions. curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh If you are running Windows 64-bit,download and run wasm-pack-init.exe then follow the onscreen instructions.
https://rustwasm.github.io/wasm-pack/installer/

Using a crate in a Cargo project errors with "maybe a missing extern crate"
I started learning Rust today, but I am stuck at this step. I want use the rand crate in my project, so I updated my Cargo.toml as suggested in the tutorial: [package] name = "guessing_game" version = "0.1.0" authors = ["Novice "] [dependencies] rand = "0.3.14" Importing it in my code as: use rand::Rng; It gives this error: error[E0432]: unresolved import `rand` --> src/main.rs:1:5 | 1 | use rand::Rng; | ^^^^ maybe a missing `extern crate rand;`?
https://stackoverflow.com/questions/53985641/using-a-crate-in-a-cargo-project-errors-with-maybe-a-missing-extern-crate

Seonglae Cho