From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- vendor/object/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vendor/object/src/lib.rs') diff --git a/vendor/object/src/lib.rs b/vendor/object/src/lib.rs index d50009f38..40f17c017 100644 --- a/vendor/object/src/lib.rs +++ b/vendor/object/src/lib.rs @@ -73,6 +73,9 @@ #[cfg(feature = "cargo-all")] compile_error!("'--all-features' is not supported; use '--features all' instead"); +#[cfg(all(feature = "xcoff", not(feature = "unstable")))] +compile_error!("'xcoff` is an unstable feature; enable 'unstable' as well"); + #[cfg(any(feature = "read_core", feature = "write_core"))] #[allow(unused_imports)] #[macro_use] @@ -110,3 +113,5 @@ pub mod elf; pub mod macho; #[cfg(any(feature = "coff", feature = "pe"))] pub mod pe; +#[cfg(feature = "xcoff")] +pub mod xcoff; -- cgit v1.2.3