ProjectMitosisOS / mitosis-core

An OS kernel module for fast **remote** fork using advanced datacenter networking (RDMA).
MIT License
57 stars 5 forks source link

Need Cargo.lock file #2

Open confident-OH opened 1 year ago

confident-OH commented 1 year ago

Even though we used nightly-2022-02-04-x86_64-unknown-linux-gnu as the toolchain, cargo still failed due to version incompatibility when building third-party dependencies(crates.io).

some of errors like: error[E0658]: cfg(target_has_atomic) is experimental and subject to change --> /home/xxx/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/log-0.4.19/src/lib.rs:350:7 350 #[cfg(target_has_atomic = "ptr")] ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: see issue #32976 <https://github.com/rust-lang/rust/issues/32976> for more information
= help: add `#![feature(cfg_target_has_atomic)]` to the crate attributes to enable

Please remove cargo.lock file from .gitignore. We need this file to reproduce your work. Extremely grateful!

wxdwfc commented 1 year ago

Ok we will remove the .gitignore.

p.s., can you describe the errors in more details? e.g., how to reproduce and how to fix them, thanks!

wangtianxia-sjtu commented 1 year ago

We will provide a compilable version of Cargo.lock in the repo.

confident-OH commented 1 year ago

Thank you very much! I've also just had a few minor problems with incompatible deps whem make km. Such as the error 0658, some website said the latest version will solve it. So I guess it maybe due to some 3rd party dependency.