mitosis-core icon indicating copy to clipboard operation
mitosis-core copied to clipboard

Need Cargo.lock file

Open confident-OH opened this issue 2 years ago • 3 comments

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!

confident-OH avatar Jul 26 '23 13:07 confident-OH

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!

wxdwfc avatar Jul 26 '23 14:07 wxdwfc

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

wangtianxia-sjtu avatar Jul 26 '23 15:07 wangtianxia-sjtu

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.

confident-OH avatar Jul 26 '23 16:07 confident-OH