Add crate version identifiers.

This commit is contained in:
Dan Gohman
2019-01-03 14:14:47 -08:00
parent 585bdac91e
commit 40acc1f340
5 changed files with 15 additions and 0 deletions

View File

@@ -61,3 +61,6 @@ pub use crate::target_tunables::target_tunables;
// Re-export `Instance` so that users won't need to separately depend on
// wasmtime-runtime in common cases.
pub use wasmtime_runtime::{Instance, InstantiationError};
/// Version number of this crate.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");