douchuan / jvm

JVM in Rust, written as a learning project.
MIT License
519 stars 31 forks source link

编译错误 #7

Closed fujinjun closed 4 years ago

fujinjun commented 4 years ago

不确认是不是我自己的问题,在crates/vm/src/runtime/thread/condvar.rs 文件中 : line 51: use mem; => use std::mem; line 92: use mem; => use std::mem; line 113:mutex::raw=>mutex_raw 改完就可以运行了

douchuan commented 4 years ago

thanks, the code not tested on other platform, my dev platform is Mac

caused by

[cfg(not(any(

    target_os = "macos",
    target_os = "ios",
    target_os = "l4re",
    target_os = "android",
    target_os = "hermit"
)))]
douchuan commented 4 years ago

pls make one pull request