Skip to content

Commit 8388dec

Browse files
author
Phil Cummins
committed
updates contributing
1 parent ce423f6 commit 8388dec

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,15 @@ switch.
2121
### Prerequisites
2222

2323
- Tools needed to build [CPython](https://github.com/python/cpython) (Make, Clang, etc.)
24-
- [Rust](https://rustup.rs/) stable 1.81.0
24+
- [Rust](https://rustup.rs/) stable 1.81.0 or later, including the `wasm32-wasip1` and `wasm32-unknown-unknown` targets
25+
- Note that we currently use the `-Z build-std` Cargo option to build the `componentize-py` runtime with position-independent code (which is not the default for `wasm32-wasip1`) and this requires using a recent nightly build of Rust.
26+
27+
For Rust, something like this should work once you have `rustup`:
28+
29+
```shell
30+
rustup update
31+
rustup target add wasm32-wasip1 wasm32-unknown-unknown
32+
```
2533

2634
### Building and Running
2735

0 commit comments

Comments
 (0)