Add crate version identifiers.
This commit is contained in:
@@ -55,9 +55,6 @@ pub use crate::legalizer::legalize_function;
|
|||||||
pub use crate::verifier::verify_function;
|
pub use crate::verifier::verify_function;
|
||||||
pub use crate::write::write_function;
|
pub use crate::write::write_function;
|
||||||
|
|
||||||
/// Version number of the cranelift-codegen crate.
|
|
||||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
|
||||||
|
|
||||||
pub use cranelift_bforest as bforest;
|
pub use cranelift_bforest as bforest;
|
||||||
pub use cranelift_entity as entity;
|
pub use cranelift_entity as entity;
|
||||||
|
|
||||||
@@ -118,3 +115,6 @@ mod std {
|
|||||||
pub use alloc::collections::BTreeSet;
|
pub use alloc::collections::BTreeSet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
@@ -34,3 +34,6 @@ pub mod traps;
|
|||||||
|
|
||||||
pub use crate::backend::{FaerieBackend, FaerieBuilder, FaerieProduct, FaerieTrapCollection};
|
pub use crate::backend::{FaerieBackend, FaerieBuilder, FaerieProduct, FaerieTrapCollection};
|
||||||
pub use crate::container::Format;
|
pub use crate::container::Format;
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
@@ -203,3 +203,6 @@ mod std {
|
|||||||
pub use self::hashmap_core::{HashMap, HashSet};
|
pub use self::hashmap_core::{HashMap, HashSet};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
@@ -49,3 +49,6 @@ mod std {
|
|||||||
pub use self::hashmap_core::{HashMap, HashSet};
|
pub use self::hashmap_core::{HashMap, HashSet};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
@@ -116,3 +116,6 @@ mod tests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
@@ -27,3 +27,6 @@ mod backend;
|
|||||||
mod memory;
|
mod memory;
|
||||||
|
|
||||||
pub use crate::backend::{SimpleJITBackend, SimpleJITBuilder};
|
pub use crate::backend::{SimpleJITBackend, SimpleJITBuilder};
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
@@ -44,3 +44,6 @@ pub mod prelude {
|
|||||||
|
|
||||||
pub use crate::frontend::{FunctionBuilder, FunctionBuilderContext, Variable};
|
pub use crate::frontend::{FunctionBuilder, FunctionBuilderContext, Variable};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
@@ -67,3 +67,6 @@ mod std {
|
|||||||
pub use self::hashmap_core::{map as hash_map, HashMap};
|
pub use self::hashmap_core::{map as hash_map, HashMap};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Version number of this crate.
|
||||||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
|
|||||||
Reference in New Issue
Block a user