pre-hash starting uuid
This commit is contained in:
parent
6d76758223
commit
dafe989cbe
@ -18,9 +18,11 @@ pub struct FunctionManager {
|
|||||||
|
|
||||||
impl Default for FunctionManager {
|
impl Default for FunctionManager {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
|
// hash of 684fc8be-4ba0-408d-96ef-480b0642126f
|
||||||
|
// is 11414819524356497634
|
||||||
Self {
|
Self {
|
||||||
functions: vec![(
|
functions: vec![(
|
||||||
Id::new(uuid!("684fc8be-4ba0-408d-96ef-480b0642126f")), // Random uuid here to avoid call to `Uuid::new_v4()`
|
Id::new_from_u64(11414819524356497634), // Random uuid here to avoid call to `Uuid::new_v4()`
|
||||||
FunctionEntry::EMPTY,
|
FunctionEntry::EMPTY,
|
||||||
)],
|
)],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,9 +14,6 @@
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate static_assertions;
|
extern crate static_assertions;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate uuid;
|
|
||||||
|
|
||||||
mod consts;
|
mod consts;
|
||||||
mod data;
|
mod data;
|
||||||
mod function_entry;
|
mod function_entry;
|
||||||
|
|||||||
@ -14,9 +14,6 @@
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate static_assertions;
|
extern crate static_assertions;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate uuid;
|
|
||||||
|
|
||||||
mod consts;
|
mod consts;
|
||||||
mod data;
|
mod data;
|
||||||
mod function_entry;
|
mod function_entry;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user