Skip to content

Commit e475fe4

Browse files
committed
Auto merge of #10073 - russweas:patch-1, r=alexcrichton
Include note about bug while building on macOS in mdbook See rust-lang/rust#90342. I can watch the thread and push another PR to delete this note once this bug is resolved.
2 parents 83bd9f6 + d98590a commit e475fe4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/doc/contrib/src/process/working-on-cargo.md

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ If you can successfully run `cargo build`, you should be good to go!
4646

4747
[homebrew]: https://brew.sh/
4848

49+
Note: There is currently a bug on arm64 M1 macOS machines that will cause an error
50+
while linking cargo. To fix this, run `export MACOSX_DEPLOYMENT_TARGET=10.7` before
51+
attempting to build the cargo project. For more information, see
52+
[rust#90342](https://github.com/rust-lang/rust/issues/90342).
53+
4954
## Running Cargo
5055

5156
You can use `cargo run` to run cargo itself, or you can use the path directly

0 commit comments

Comments
 (0)