From 4fd09203e713d8a024864165f3addfd15b861786 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 22 Apr 2021 00:45:27 -0500 Subject: [PATCH 1/2] add wasm target for rust to the requirements If not explicitly enabled, `make test` fails while compiling Rust code with "can't find crate 'core'" --- DEVELOPER.md | 1 + 1 file changed, 1 insertion(+) diff --git a/DEVELOPER.md b/DEVELOPER.md index 142b3cefa..922212fd7 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -32,6 +32,7 @@ compile ngx_wasm_module or to produce Wasm bytecode, having Rust installed on the system will quickly become necessary for development: - [rustup.rs](https://rustup.rs/) is the easiest way to install Rust. +- wasm target for Rust: `rustup target add wasm32-unknown-unknown`. - WebAssembly runtime (see [Installation Requirements](README.md#requirements)). [Back to TOC](#table-of-contents) From 18ac3c362ba6ceb7235ecf7ff88b6c5449e9e8af Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Wed, 21 Apr 2021 22:59:26 -0700 Subject: [PATCH 2/2] Update DEVELOPER.md --- DEVELOPER.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEVELOPER.md b/DEVELOPER.md index 922212fd7..b861732b2 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -32,7 +32,7 @@ compile ngx_wasm_module or to produce Wasm bytecode, having Rust installed on the system will quickly become necessary for development: - [rustup.rs](https://rustup.rs/) is the easiest way to install Rust. -- wasm target for Rust: `rustup target add wasm32-unknown-unknown`. + - Then add the wasm target to your toolchain: `rustup target add wasm32-unknown-unknown`. - WebAssembly runtime (see [Installation Requirements](README.md#requirements)). [Back to TOC](#table-of-contents)