From abc99cc29e5f4c8a02446579366193fc09fb6e32 Mon Sep 17 00:00:00 2001 From: David Michael Date: Thu, 21 Sep 2017 14:37:09 -0700 Subject: [PATCH] check_root: Ignore missing Rust libraries --- build_library/check_root | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build_library/check_root b/build_library/check_root index 48c6f40473..4a1b41af55 100755 --- a/build_library/check_root +++ b/build_library/check_root @@ -75,6 +75,22 @@ IGNORE_MISSING = { SonameAtom("x86_64", "libebtable_broute.so"), SonameAtom("x86_64", "libebtable_filter.so"), SonameAtom("x86_64", "libebtable_nat.so")], + + # Ignore the Rust libraries in their own libdir. + "dev-libs/rustlib": [SonameAtom("arm_64", "librustc_data_structures.so"), + SonameAtom("arm_64", "librustc_errors.so"), + SonameAtom("arm_64", "libserialize.so"), + SonameAtom("arm_64", "libstd.so"), + SonameAtom("arm_64", "libsyntax.so"), + SonameAtom("arm_64", "libsyntax_pos.so"), + SonameAtom("arm_64", "libterm.so"), + SonameAtom("x86_64", "librustc_data_structures.so"), + SonameAtom("x86_64", "librustc_errors.so"), + SonameAtom("x86_64", "libserialize.so"), + SonameAtom("x86_64", "libstd.so"), + SonameAtom("x86_64", "libsyntax.so"), + SonameAtom("x86_64", "libsyntax_pos.so"), + SonameAtom("x86_64", "libterm.so")], } USR_LINKS = ("/bin/", "/sbin/", "/lib/", "/lib32/", "/lib64/")