diff options
| author | Yukang <moorekang@gmail.com> | 2023-03-21 16:50:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-21 17:50:39 +0900 |
| commit | f24518948220486be647936cdc3347dd363fbd43 (patch) | |
| tree | 6e2ac79db079eaa2ed79280faa73ea5988492df9 /src/doc | |
| parent | b146ed6765fa77a817be79b05d7245cc057b7f16 (diff) | |
| download | rust-f24518948220486be647936cdc3347dd363fbd43.tar.gz rust-f24518948220486be647936cdc3347dd363fbd43.zip | |
Add SIP solution for macOS users (#1636)
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/compiletest.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md index 5fc6ba809d2..f066992dc9d 100644 --- a/src/doc/rustc-dev-guide/src/tests/compiletest.md +++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md @@ -11,6 +11,16 @@ efficient test execution (parallel execution is supported), and allows the test author to configure behavior and expected results of both individual and groups of tests. +> NOTE: +> For macOS users, `SIP` (System Integrity Protection) [may consistently +> check the compiled binary by sending network requests to Apple][zulip], +> so you may get a huge performance degradation when running tests. +> +> You can resolve it by tweaking the following settings: +> `Privacy & Security -> Developer Tools -> Add Terminal (Or VsCode, etc.)`. + +[zulip]: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20Is.20there.20any.20performance.20issue.20for.20MacOS.3F + `compiletest` may check test code for success, for runtime failure, or for compile-time failure. Tests are typically organized as a Rust source file with annotations in |
