diff --git a/cranelift/object/src/lib.rs b/cranelift/object/src/lib.rs index 31033927c9..0eeaec1484 100644 --- a/cranelift/object/src/lib.rs +++ b/cranelift/object/src/lib.rs @@ -1,6 +1,6 @@ //! Top-level lib.rs for `cranelift_object`. //! -//! Users of this module should not have to depend on `object` directly. +//! This re-exports `object` so you don't have to explicitly keep the versions in sync. #![deny( missing_docs, @@ -31,3 +31,5 @@ pub use crate::backend::{ObjectBackend, ObjectBuilder, ObjectProduct}; /// Version number of this crate. pub const VERSION: &str = env!("CARGO_PKG_VERSION"); + +pub use object;