diff options
| author | gnzlbg <gonzalobg88@gmail.com> | 2019-03-26 12:15:06 +0100 |
|---|---|---|
| committer | gnzlbg <gonzalobg88@gmail.com> | 2019-03-26 13:42:48 +0100 |
| commit | 1ea57aa3f98b9e7fffd49f95ed05503e9ddf2d7f (patch) | |
| tree | 576d0498b2a2c48a45da15489694b81b59a5f1e6 /src | |
| parent | d189cab027bee94f4a4ef09484e30354c9843764 (diff) | |
| download | rust-1ea57aa3f98b9e7fffd49f95ed05503e9ddf2d7f.tar.gz rust-1ea57aa3f98b9e7fffd49f95ed05503e9ddf2d7f.zip | |
Add exception for libcore/hint.rs to pal lint of tidy script
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/tidy/src/pal.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/tidy/src/pal.rs b/src/tools/tidy/src/pal.rs index ed2218f09d2..96dfb2f1acd 100644 --- a/src/tools/tidy/src/pal.rs +++ b/src/tools/tidy/src/pal.rs @@ -42,6 +42,10 @@ const EXCEPTION_PATHS: &[&str] = &[ "src/libpanic_abort", "src/libpanic_unwind", "src/libunwind", + // black_box implementation is LLVM-version specific and it uses + // target_os to tell targets with different LLVM-versions appart + // (e.g. `wasm32-unknown-emscripten` vs `wasm32-unknown-unknown`): + "src/libcore/hint.rs", "src/libstd/sys/", // Platform-specific code for std lives here. // This has the trailing slash so that sys_common is not excepted. "src/libstd/os", // Platform-specific public interfaces |
