tandasat / Hypervisor-101-in-Rust

The materials of "Hypervisor 101 in Rust", a one-day long course, to quickly learn hardware-assisted virtualization technology and its application for high-performance fuzzing on Intel/AMD processors.
https://tandasat.github.io/Hypervisor-101-in-Rust/
MIT License
982 stars 66 forks source link

windows10 host build Hypervisor-101-in-Rust setup #8

Closed cctv130 closed 1 year ago

cctv130 commented 1 year ago

1、add proc-macro2 = "1.0.66" content in the project root directory *.toml

2、add use procmacro2 as ; content to xtest/main.rs

3、compile is successful

1690101861244

tandasat commented 1 year ago

Thanks for reporting the issue. Resolved with b3f60f37257db8e77112b4ffbb436458f022cae6 by updating the dependencies.

cctv130 commented 1 year ago

Thanks for reporting the issue. Resolved with b3f60f3 by updating the dependencies.

This is what I should do, do you have any good ways to improve the compilation speed in rust? There seems to be little information in this area

tandasat commented 1 year ago

I am not sure as I have not felt the need of optimization. This project clean builds for debug in about 11 seconds on my primary environment, which is fine to me.