Skip to content

Commit b483eee

Browse files
authored
chore: fix build instructions (#1884)
- Don't set rust flags manually. - Cargo fmt check, don't actually format. - Don't allow warnings in the makefile. - Let rustup install the correct targets automatically.
1 parent b3f873d commit b483eee

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Makefile

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
RUSTFLAGS="-C target-feature=+crt-static"
2-
31
all: build
42
.PHONY: all
53

@@ -11,8 +9,8 @@ clean:
119
cargo clean
1210

1311
lint:
14-
cargo fmt --all
15-
cargo clippy --all --all-targets -- -D warnings -A clippy::upper_case_acronyms
12+
cargo fmt --all --check
13+
cargo clippy --all --all-targets -- -D warnings
1614

1715
license:
1816
./scripts/add_license.sh

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ See the [Project Website](https://fvm.filecoin.io/) for details.
1515

1616
```sh
1717
$ git clone https://github.com/filecoin-project/ref-fvm.git
18-
$ cd fvm
19-
$ rustup target add wasm32-unknown-unknown
18+
$ cd ref-fvm
2019
$ make
2120
```
2221

0 commit comments

Comments
 (0)