[CosmWasm] 安装 Rust 和 wasm32 (Linux & Mac)

通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

 

先用 rustup 安装 Rust 语言,再确保你拥有wasm32目标。

$ rustup default stable
$ cargo version
# If this is lower than 1.55.0+, update
$ rustup update stable

$ rustup target list --installed
$ rustup target add wasm32-unknown-unknown

 

wasmd 是CosmWasm平台的支柱。这是通过智能合约实现的 Cosmos zone。 

$ git clone https://github.com/CosmWasm/wasmd.git
$ cd wasmd
$ git checkout v0.23.0
$ make install

# verify the installation
$ wasmd version

 

Intellij IDEA Community Edition (Download link), RUST for Intellij.

Refer: https://docs.cosmwasm.com/docs/1.0/getting-started/installation#installing-rust-in-linux-and-mac

Video: https://www.youtube.com/watch?v=OCPbPy_TiSs

Link:https://www.cnblogs.com/farwish/p/16000571.html

posted on 2022-03-13 15:10  ercom  阅读(260)  评论(0编辑  收藏  举报