]> git.lizzy.rs Git - rust.git/commitdiff
Add exception for libcore/hint.rs to pal lint of tidy script
authorgnzlbg <gonzalobg88@gmail.com>
Tue, 26 Mar 2019 11:15:06 +0000 (12:15 +0100)
committergnzlbg <gonzalobg88@gmail.com>
Tue, 26 Mar 2019 12:42:48 +0000 (13:42 +0100)
src/tools/tidy/src/pal.rs

index ed2218f09d26b3ad12c58681e94245a65cef42d5..96dfb2f1acd9b4653efc4101f922d9cc157513e9 100644 (file)
     "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