summaryrefslogtreecommitdiffstats
path: root/vendor/object/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /vendor/object/src/lib.rs
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/object/src/lib.rs')
-rw-r--r--vendor/object/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
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;