From a144513057dcec9b673af0cb61fb920477bc3774 Mon Sep 17 00:00:00 2001 From: Russ Weas Date: Thu, 11 Nov 2021 23:02:56 -0600 Subject: [PATCH 1/2] Include note about bug while building on macOS in mdbook --- src/doc/contrib/src/process/working-on-cargo.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/doc/contrib/src/process/working-on-cargo.md b/src/doc/contrib/src/process/working-on-cargo.md index b2e002bc464..11e82390dc4 100644 --- a/src/doc/contrib/src/process/working-on-cargo.md +++ b/src/doc/contrib/src/process/working-on-cargo.md @@ -46,6 +46,11 @@ If you can successfully run `cargo build`, you should be good to go! [homebrew]: https://brew.sh/ +Note: There is currently a bug on macOS that will cause an error while linking +cargo. To fix this, run `export MACOSX_DEPLOYMENT_TARGET=10.7` before attempting +to build the cargo project. For more information, see +[rust#90342](https://github.com/rust-lang/rust/issues/90342). + ## Running Cargo You can use `cargo run` to run cargo itself, or you can use the path directly From d98590ab98b173c4ff03f80aa70f2683cb5a525f Mon Sep 17 00:00:00 2001 From: Russ Weas Date: Mon, 15 Nov 2021 12:42:37 -0600 Subject: [PATCH 2/2] Update working-on-cargo.md --- src/doc/contrib/src/process/working-on-cargo.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/contrib/src/process/working-on-cargo.md b/src/doc/contrib/src/process/working-on-cargo.md index 11e82390dc4..7552f6dc7c1 100644 --- a/src/doc/contrib/src/process/working-on-cargo.md +++ b/src/doc/contrib/src/process/working-on-cargo.md @@ -46,9 +46,9 @@ If you can successfully run `cargo build`, you should be good to go! [homebrew]: https://brew.sh/ -Note: There is currently a bug on macOS that will cause an error while linking -cargo. To fix this, run `export MACOSX_DEPLOYMENT_TARGET=10.7` before attempting -to build the cargo project. For more information, see +Note: There is currently a bug on arm64 M1 macOS machines that will cause an error +while linking cargo. To fix this, run `export MACOSX_DEPLOYMENT_TARGET=10.7` before +attempting to build the cargo project. For more information, see [rust#90342](https://github.com/rust-lang/rust/issues/90342). ## Running Cargo