commit: 4b2775ec461086a7299d277193f485947d78f817 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Thu Oct 7 15:47:48 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu Oct 7 15:48:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2775ec
dev-lang/rust: silence rmeta QA WX warnings Closes: https://bugs.gentoo.org/806466 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-lang/rust/rust-1.52.1.ebuild | 6 ++++++ dev-lang/rust/rust-1.53.0.ebuild | 6 ++++++ dev-lang/rust/rust-1.54.0.ebuild | 6 ++++++ dev-lang/rust/rust-1.55.0.ebuild | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/dev-lang/rust/rust-1.52.1.ebuild b/dev-lang/rust/rust-1.52.1.ebuild index 903660103f6..30db42404e6 100644 --- a/dev-lang/rust/rust-1.52.1.ebuild +++ b/dev-lang/rust/rust-1.52.1.ebuild @@ -138,6 +138,12 @@ QA_SONAME=" usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta" +QA_EXECSTACK="${QA_WX_LOAD}" + # causes double bootstrap RESTRICT="test" diff --git a/dev-lang/rust/rust-1.53.0.ebuild b/dev-lang/rust/rust-1.53.0.ebuild index b484a09020c..aeb7bd1f11c 100644 --- a/dev-lang/rust/rust-1.53.0.ebuild +++ b/dev-lang/rust/rust-1.53.0.ebuild @@ -140,6 +140,12 @@ QA_SONAME=" usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta" +QA_EXECSTACK="${QA_WX_LOAD}" + # causes double bootstrap RESTRICT="test" diff --git a/dev-lang/rust/rust-1.54.0.ebuild b/dev-lang/rust/rust-1.54.0.ebuild index 40f81de58ea..0b2c51587d6 100644 --- a/dev-lang/rust/rust-1.54.0.ebuild +++ b/dev-lang/rust/rust-1.54.0.ebuild @@ -140,6 +140,12 @@ QA_SONAME=" usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta" +QA_EXECSTACK="${QA_WX_LOAD}" + # causes double bootstrap RESTRICT="test" diff --git a/dev-lang/rust/rust-1.55.0.ebuild b/dev-lang/rust/rust-1.55.0.ebuild index 0805c94c1d0..366d1e5149b 100644 --- a/dev-lang/rust/rust-1.55.0.ebuild +++ b/dev-lang/rust/rust-1.55.0.ebuild @@ -140,6 +140,12 @@ QA_SONAME=" usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta" +QA_EXECSTACK="${QA_WX_LOAD}" + # causes double bootstrap RESTRICT="test"
