aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/rust.yml
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2022-05-03 07:59:24 +0200
committerNicholas Rodrigues Lordello <[email protected]>2022-05-03 07:59:24 +0200
commit2cf5f650b8fdbd1992f3d65ad6e102087e74f896 (patch)
tree7c501fcd82b33a6203cb6b55c4820d698c1d83e5 /.github/workflows/rust.yml
parent1c13a451bc2e56ce8531d5da683a3c7aa6d4d887 (diff)
Use Rust Secp256k1 implementation from RustCrypto project (#92)
This PR ports `hdwallet` to use the `k256` crate - a native Rust implementation of secp256k1 elliptic curve and ECDSA signing. The motivation for this change is that we can just use the `wasm32-wasi` Rust target without requiring a WASI C toolchain! Notice that the CI no longer requires installing the WASI SDK in order to build the WASI target.
Diffstat (limited to '.github/workflows/rust.yml')
-rw-r--r--.github/workflows/rust.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 8996ac4..b29cb3d 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -28,7 +28,5 @@ jobs:
- uses: actions/checkout@v2
- name: Build
run: |
- curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-14/wasi-sdk_14.0_amd64.deb -o /tmp/wasi-sdk.deb
- sudo dpkg -i /tmp/wasi-sdk.deb
rustup target add wasm32-wasi
- CC=/opt/wasi-sdk/bin/clang cargo build --target wasm32-wasi
+ cargo build --target wasm32-wasi