To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 578839d1 authored by Javad Ebrahimian Amiri's avatar Javad Ebrahimian Amiri
Browse files

to solve the confusing errors of older rust versions

parent d48899fb
......@@ -4416,9 +4416,9 @@ pub fn emit_context_with_reloc(
// #41
trace!("start serializing vm");
use rodal;
use std::time::Instant;
// use std::time::Instant;
let now = Instant::now();
// let now = Instant::now();
let mut dumper = rodal::AsmDumper::new(file);
// Dump an Arc to the vm
......@@ -4436,7 +4436,7 @@ pub fn emit_context_with_reloc(
dumper.finish();
trace!("Dumping took {} micro-seconds", now.elapsed().as_micros());
// trace!("Dumping took {} micro-seconds", now.elapsed().as_micros());
emit_sym_table(vm);
......
......@@ -256,7 +256,7 @@ pub extern "C" fn mu_trace_level_log() {
#[no_mangle]
pub static mut LAST_TIME: c_ulong = 0;
use std::time::{Duration, Instant};
//use std::time::{Duration, Instant};
// RTMU mu_main needs changes
......@@ -273,7 +273,7 @@ pub extern "C" fn mu_main(
VM::start_logging_env();
debug!("mu_main() started...");
let now = Instant::now();
// let now = Instant::now();
// load and resume the VM
unsafe {
......@@ -284,10 +284,10 @@ pub extern "C" fn mu_main(
};
let vm = VM::resume_vm(dumped_vm);
trace!(
"VM deserialization took {} milli-seconds",
now.elapsed().as_micros()
);
// trace!(
// "VM deserialization took {} milli-seconds",
// now.elapsed().as_micros()
// );
// find the primordial function as an entry
let primordial = vm.primordial().read().unwrap();
......
......@@ -28,7 +28,7 @@ lazy_static! {
let built_time = built::util::strptime(&BUILT_TIME_UTC);
format!("Zebu {} ({}, {})", PKG_VERSION, git, built_time.ctime())
format!("Zebu {} ({}, {:#?})", PKG_VERSION, git, built_time)
};
pub static ref ZEBU_VERSION_C_STR: CString =
CString::new(ZEBU_VERSION_STR.clone()).unwrap();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment