From bc4b4707e378a662be2ff05c2c960b380e56f147 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Wed, 29 Apr 2020 20:06:00 -0400 Subject: [PATCH] Re-export object from cranelift-object (#1599) * Re-export object from cranelift-object Closes https://github.com/bytecodealliance/wasmtime/issues/1597 * Fix formatting Co-Authored-By: bjorn3 Co-authored-by: bjorn3 --- cranelift/object/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;