about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2021-04-28 22:59:23 -0400
committerGitHub <noreply@github.com>2021-04-28 22:59:23 -0400
commitdbfe0e9855996baecfbab4a717b0c6060aa090ee (patch)
tree9bcb412490c93ca2115d2f2cf31c3d8122b61344 /library/std/src/sys/unix/stack_overflow.rs
parent43afe764dea3f3a8c0562c0f85c1cdcc59267cab (diff)
parent79020a8d638697dfb9362c2a1a4fc73aa864232b (diff)
downloadrust-dbfe0e9855996baecfbab4a717b0c6060aa090ee.tar.gz
rust-dbfe0e9855996baecfbab4a717b0c6060aa090ee.zip
Rollup merge of #84530 - richkadel:test-tidy-build-dirs, r=Mark-Simulacrum
`test tidy` should ignore alternative `build` dir patterns

I need to have multiple `build` directories, such as `build`,
`build-fuchsia`, and `build-test`. But when I'm uploading a change, I
run `./x.py test tidy`, and if I have a `build-something` directory with
Rust sources, I git a bunch of formatting errors.

`rustfmt.toml` only ignores the directory named `build`.

This change extends the patterns to also ignore `build-*` and `*-build`.

As a rustc contributor, I not only build the rust compiler to develop
new features, but I also build alternative "distributions" (using
secondary `*-config.toml` files with different configurations),
including:

* To occasionally rebuild a version of the compiler that `rust-analyzer`
can use to `check` source (which fixes issues in the VS Code UI, so
changing and rebuilding the compiler does not break VS Code editing Rust
code).
* To build custom distributions for Fuchsia
* To build test distributions when working on changes to `bootstrap`
(e.g., when I recently added `rust-demangler` to distributions)
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions