summaryrefslogtreecommitdiffstats
path: root/vendor/object/src/lib.rs
diff options
context:
space:
mode:
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;