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

@@ -30,3 +30,6 @@ mod wast;
pub use crate::spectest::instantiate_spectest;
pub use crate::wast::{WastContext, WastError};
/// Version number of this crate.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");